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!

Fstab and UUID in refracta installer

Refracta Development, Scripts, etc.

Re: Fstab and UUID in refracta installer

Postby fsmithred » Wed Jun 13, 2012 7:33 pm

Here's the gui version for refractainstaller-9.0.4. WARNING: I'm doing this over ssh and haven't had a chance to test the gui version at all. I believe it will work (famous last words?)
http://distro.ibiblio.org/pub/linux/dis ... .4_all.deb
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: Fstab and UUID in refracta installer

Postby fsmithred » Thu Jun 14, 2012 2:51 am

It wouldn't run without the closing quotes on line 160. Fixed it. It is now 02:49.44 on 2012-06-14 in Greenwich.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: Fstab and UUID in refracta installer

Postby fsmithred » Fri Jun 15, 2012 11:52 am

refractainstaller-gui 9.0.4, lines 832 and 833: move the "g" down for /etc/hosts, which needs more than substitution. Here's the fix.
Code: Select all
   sed -i "s/$HOSTNAME/$new_hostname/" /target/etc/hostname
   sed -i "s/$HOSTNAME/$new_hostname/g" /target/etc/hosts
This will eliminate an error regarding the hostname that comes up when the desktop starts.

Edit: Lines 783 and 784 in the cli script.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Previous

Return to Discuss

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred