Refracta Development, Scripts, etc.
Post a reply
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## fsmithreds installers

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 **** to do an encrypted install (nice and easy).
In Vbox be prepared for a lot of time being needed.
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: fsmithreds installers

Thu Mar 24, 2011 1:33 pm

experiences with Deans installer go here too.
I like it too.
mharrison

- mharrison
- Posts: 22
- Joined: Wed Mar 09, 2011 9:53 pm

## Re: fsmithreds installers

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.
EvilDairyProduct

- EvilDairyProduct
- Posts: 39
- Joined: Wed Mar 09, 2011 10:14 pm
- Location: At the bar

## Re: fsmithreds installers

Thu Mar 24, 2011 3:30 pm

Had an issue... Probably operator error.
Running Live and ran the installerz-refracta.03 script as root.
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:
  `[email protected]
  :/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:
  `[email protected]
  :~# umount /dev/sda1
  umount: /dev/sda1: not mounted
  [email protected]
  :~# umount /dev/sda2
  umount: /dev/sda2: not mounted
  [email protected]
  :~# umount /dev/sda3
  umount: /dev/sda3: not mounted
  [email protected]
  :~# umount /dev/sda5
  umount: /dev/sda5: not mounted
  [email protected]
  :~# umount /dev/sdb1
  umount: /dev/sdb1: not mounted`

fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: fsmithreds installers

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:
  `- /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/`

EvilDairyProduct

- EvilDairyProduct
- Posts: 39
- Joined: Wed Mar 09, 2011 10:14 pm
- Location: At the bar

## Re: fsmithreds installers

Thu Mar 24, 2011 4:20 pm

Ok. But shouldn't it be called .exclude.list?
EvilDairyProduct

- EvilDairyProduct
- Posts: 39
- Joined: Wed Mar 09, 2011 10:14 pm
- Location: At the bar

## Re: fsmithreds installers

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?
EvilDairyProduct

- EvilDairyProduct
- Posts: 39
- Joined: Wed Mar 09, 2011 10:14 pm
- Location: At the bar

## Bootloader

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: ****...
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.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: fsmithreds installers

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.
EvilDairyProduct

- EvilDairyProduct
- Posts: 39
- Joined: Wed Mar 09, 2011 10:14 pm
- Location: At the bar

## Re: fsmithreds installers

Thu Mar 24, 2011 4:48 pm

No problem. Here is the error log from the last test:

Code:
  `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?
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.