Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

fsmithreds installers

Refracta Development, Scripts, etc.

fsmithreds installers

Postby nadir » Thu Mar 24, 2011 1:32 pm

Post your experiences with the installer here.
I did all kind of tests, and all did work.
The communication about it has been taken place via email.
It is not very interesting, but i will go through my mails and try to find something of interest.

Doing the encrypted install is the shit to do an encrypted install (nice and easy).
In Vbox be prepared for a lot of time being needed.
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1159
Joined: Wed Mar 09, 2011 4:18 am
Location: here

Re: fsmithreds installers

Postby nadir » Thu Mar 24, 2011 1:33 pm

experiences with Deans installer go here too.
I like it too.
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1159
Joined: Wed Mar 09, 2011 4:18 am
Location: here

Re: fsmithreds installers

Postby mharrison » Thu Mar 24, 2011 1:33 pm

Thanks for the heads up about Vbox.....I was planning on testing some of them out tonight once the little man goes down for bed. I'll post any results here unless you have someplace else you want them to be at?

Edit....Looks like they do indeed go here.
mharrison
 
Posts: 22
Joined: Wed Mar 09, 2011 9:53 pm

Re: fsmithreds installers

Postby EvilDairyProduct » Thu Mar 24, 2011 3:30 pm

Had an issue... Probably operator error.
Running Live and ran the installerz-refracta.03 script as root.
Image

Image
After Step 2, the script stopped without any indication and put me back to my root prompt. It did create a installer_errors.log which is in code blocks below.
Code: Select all
root@refracta:/home/user# cat install_errors.log
installerz-refracta.03.sh: line 137: --text=There is no rsync excludes file, or its name does not match what this script expects. You can let the script create one, or if you have a custom exlcudes file, and you know what you're doing, you can exit the script and edit the rsync_excludes variable at the top so that it matches the name and path of your custom file.
   
If you have any external or internal drives mounted now, they will not be copied. If you want to change that behavior, remove the -x from the rsync commands. Make sure you have enough space on the target partitions for the install.: command not found

No option was presented to allow the script to create the rsync_excludes file. I have no custom file.

EDIT:
I just double-checked and no drives were mounted:
Code: Select all
root@refracta:~# umount /dev/sda1
umount: /dev/sda1: not mounted
root@refracta:~# umount /dev/sda2
umount: /dev/sda2: not mounted
root@refracta:~# umount /dev/sda3
umount: /dev/sda3: not mounted
root@refracta:~# umount /dev/sda5
umount: /dev/sda5: not mounted
root@refracta:~# umount /dev/sdb1
umount: /dev/sdb1: not mounted
Gin makes a man mean!
User avatar
EvilDairyProduct
 
Posts: 39
Joined: Wed Mar 09, 2011 10:14 pm
Location: At the bar

Re: fsmithreds installers

Postby fsmithred » Thu Mar 24, 2011 4:19 pm

I'm looking at the test for the excludes file, and I'm pretty sure you didn't do anything wrong. Sorry about that. The quick fix for you to go on while I try to figure out my code would be to manually create an excludes file. Put the following in a file called exclude.list in the same directory as the script.
Code: Select all
- /dev/*
- /cdrom/*
- /media/*
- /target
- /swapfile
- /mnt/*
- /sys/*
- /proc/*
- /tmp/*
- /live
- /boot/grub/grub.cfg
- /boot/grub/menu.lst
- /boot/grub/device.map
- /etc/udev/rules.d/70-persistent-cd.rules
- /etc/udev/rules.d/70-persistent-net.rules
- /etc/fstab
- /etc/mtab
- /home/snapshot/
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: fsmithreds installers

Postby EvilDairyProduct » Thu Mar 24, 2011 4:20 pm

Ok. But shouldn't it be called .exclude.list?
Gin makes a man mean!
User avatar
EvilDairyProduct
 
Posts: 39
Joined: Wed Mar 09, 2011 10:14 pm
Location: At the bar

Re: fsmithreds installers

Postby EvilDairyProduct » Thu Mar 24, 2011 4:26 pm

Saved file as .exclude.list and the installer will proceed. Thanks.
cryptsetup is not installed by default in the 6.03 gnome build. :(
...and the repo seems to be down at the moment.
Should I note that in the wishlist?
Gin makes a man mean!
User avatar
EvilDairyProduct
 
Posts: 39
Joined: Wed Mar 09, 2011 10:14 pm
Location: At the bar

Bootloader

Postby EvilDairyProduct » Thu Mar 24, 2011 4:38 pm

Installer Script Wishlist Item:
On the Expert install you can cancel installing a bootloader (you get an error message) and continue. It's a little confusing. I'd like to have an option presented to not install one presented up front.

Edit: Shit...
Exited with errors if you cancel the grub installation before beginning. Failed installation.
I really want to keep my current grub, so I'll hold off on any further script testing for now.
Gin makes a man mean!
User avatar
EvilDairyProduct
 
Posts: 39
Joined: Wed Mar 09, 2011 10:14 pm
Location: At the bar

Re: fsmithreds installers

Postby fsmithred » Thu Mar 24, 2011 4:44 pm

Cancel that last request. Download the script again. I replaced a few lines from the debian version, and it works, but I fail to see the difference in the code. Don't believe what it says about mounted drives - that's for the debian version, which doesn't have the -x in the rsync command.

Thanks for the great feedback.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: fsmithreds installers

Postby EvilDairyProduct » Thu Mar 24, 2011 4:48 pm

No problem. Here is the error log from the last test:
Code: Select all
cat install_errors.log
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
mke2fs 1.41.12 (17-May-2010)
256000+0 records in
256000+0 records out
268288000 bytes (268 MB) copied, 2.81228 s, 95.4 MB/s
mkswap: /target/swapfile: warning: don't erase bootbits sectors
        on whole disk. Use -f to force.
install_device not specified.

I have an existing swap, so it's silly to create a new one. Is there a quick and dirty way to add the option to select an existing swap?
Gin makes a man mean!
User avatar
EvilDairyProduct
 
Posts: 39
Joined: Wed Mar 09, 2011 10:14 pm
Location: At the bar

Next

Return to Discuss

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred