# refracta.freeforums.org

place to talk about refracta

Skip to content

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!

## refracta-wheezy-beta3 - betaN bugs

Refracta Development, Scripts, etc.
Post a reply
60 posts • Page 6 of 6 • 1, 2, 3, 4, 5, 6

### Re: refracta-wheezy-beta3 - betaN bugs

by dzz » Tue Feb 05, 2013 12:30 pm

New install done today with beta 9. Intel core2 3GHz, 2GB ram
Booted from live usb. Boot time <20 seconds to login screen!
Install time <4 minutes, most of that was editing sudoers and passwords
Options: new hostname, new user, change passwords, edit sudoers, no bootloader
No hostname problem here, must be only if the old one is used. It's exactly as I set it.
A reasonable summary of the actual install process: "flawless"

dzz
  Posts: 647
  Joined: Wed Apr 27, 2011 11:53 am
  Location: Devon, England

Top

### Re: refracta-wheezy-beta3 - betaN bugs

by ukbrian » Tue Feb 05, 2013 1:24 pm

I've not run your beta yet but I've used your snapshot/installer on SalineOS dev2, SolusOS alpha7 and the LMDE unofficial at http://forums.linuxmint.com/viewtopic.php?f=61&t=122592 Xfce with no problems at all apart from the hostname bit but I got into selecting to change the hostname option with no problems.
Is it possible to add an option to select an existing swap partition?
I'm just going to give your beta a blast.

ukbrian
  Posts: 109
  Joined: Mon Jul 25, 2011 8:22 am
  Location: Cheltenham, UK

Top

### Re: refracta-wheezy-beta3 - betaN bugs

by fsmithred » Tue Feb 05, 2013 2:08 pm

I'll be uploading new debs for the installer in a few minutes. The hostname problem only occurs if you don't select "Change hostname" in the options.
In syslinux/isolinux, you can use an existing swap partition by simply adding the word "swapon" to the append line. For the installer, I guess I have to add an option that adds a line to fstab. That's a reasonable option to add. I'll take a look at the code when I'm done posting, and I might be able to do it before uploading the new debs.
Note also that I added a menu entry for SolusOS in the snapshot boot menu. You won't see it in the refracta beta unless you reinstall refractasnapshot-base from the deb file. It appears as "Other linux with unionfs," and if you're at a bare boot prompt, you can just type "solus" and hit ENTER.

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

Top

### Re: refracta-wheezy-beta3 - betaN bugs

by dzz » Tue Feb 05, 2013 2:30 pm

If it helps, the exegnu installer http://exegnulinux.net/apt/pool/main/e/ ... .0_all.deb Although less advanced than Refracta's, has detect and offer to use existing swap code already done, everything there is GPL (some of it nicked from refracta anyway!) Although it is simple to set swap manually.

dzz
  Posts: 647
  Joined: Wed Apr 27, 2011 11:53 am
  Location: Devon, England

Top

### Re: refracta-wheezy-beta3 - betaN bugs

by nadir » Tue Feb 05, 2013 3:58 pm

> fsmithred wrote:OK, I see the problem. This gives me an excuse to bring the installer version number in sync with the snapshot tool. Here's the fix - change:
> Code: Select all
>   `if [[ $change_hostname = "yes" ]]; then
>   select_hostname
>   fi`
> to

> > if [[ $change_hostname = "yes" ]]; then
> > select_hostname
> > else
> > new_hostname="$HOSTNAME"
> > fi

> refractainstaller-yad around line 650
> refractainstaller-gui around line 593
> And in the cli refractainstaller, move line 488 down. Put this right after the select_hostname function is called on line 535:
> Code: Select all
>   `# In case null was entered above as hostname, then set it to $HOSTNAME
>   new_hostname=${new_hostname:="$HOSTNAME"}`

Ah, good.
I was not sure, and as i did other things while installing, i didn't look at any output. I just wanted to test if i could repeat the behaviour.
btw: the simple installer has no option to change the hostname (of course). I simply edited etc/hostname.
So i herd u liek mudkip?

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

Top

### Re: refracta-wheezy-beta3 - betaN bugs

by fsmithred » Tue Feb 05, 2013 4:32 pm

Done! (uploaded refractainstaller base and gui, version 9.0.8)
Fixed hostname bug.
Added option to use existing swap partition instead of swapfile (gui version only - you cli guys are on your own.)
http://distro.ibiblio.org/refracta/testing/
https://github.com/fsmithred/refracta

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

Top

### Re: refracta-wheezy-beta3 - betaN bugs

by ukbrian » Tue Feb 05, 2013 7:00 pm

WOW!
I just run the new installer and the hostname bit was fixed and I like the option for the swap partition but I smiled when it came up and asked me which swap partition to use sda1 or sdb1, that was class Sir, I used an installer recently that added both swaps to my fstab.
For the first time I told it not to write grub when I installed on sdb5, I normally use the MBR option, so I booted into sdb2 and run update-grub but when I rebooted I had 5 lines in grub for sdb5.
I reinstalled and selected MBR and everything was good, tomorrow I'll do the install again without selecting MBR to see if it was a one off or if I can replicate the multi line grub.
Regarding unionfs in Solus I think it will be discontinued shortly as Ikey made this post http://main.solusos.com/content.php?140-1-3-Issues
His 1.3 Squeeze update is due out this week or next and I'll see how the snapshot/installer goes on that one.
I love your installer, I think it's the best I've used, thank you for your time all concerned.
PS.
There was one thing
Folk snapshotting/installing other distros might find a bit odd and that's the option to edit visudo.
Since I first come across the line you add to visudo I have automatically added it to all my installed OS's but in other distros that line won't exist to edit.

ukbrian
  Posts: 109
  Joined: Mon Jul 25, 2011 8:22 am
  Location: Cheltenham, UK

Top

### Re: refracta-wheezy-beta3 - betaN bugs

by fsmithred » Tue Feb 05, 2013 7:28 pm

Oy. unionfs, aufs, overlayfs, wtffs...
Thanks for the heads-up on that. Guess I'll stay tuned and see what happens.
I recommend that you remove the line from etc/sudoers that gives the user root privs with no password. It's a security risk. Probably safe enough for running a live CD, but not for an installation. How do the other distros handle it - add the user to the sudo group? And what about the part where it asks for a new root password? I haven't used the tools in ubuntu but a few times.

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

Top

### Re: refracta-wheezy-beta3 - betaN bugs

by lester] » Wed Feb 06, 2013 9:33 am

> fsmithred wrote:Oy. unionfs, aufs, overlayfs, wtffs....

That kinda sums it up, donit?
sudo -i
for root?

lester]
  Posts: 12
  Joined: Mon Feb 04, 2013 6:55 pm

Top

### Re: refracta-wheezy-beta3 - betaN bugs

by fsmithred » Fri Feb 08, 2013 3:05 pm

I just noticed in beta9 that gparted starts with pkexec instead of gksu. The edit must have gotten wiped out in an upgrade. It means that you'll have to enter the root password every time you start gparted. I didn't check to see if the same happened to synaptic.

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

Top

Previous Display posts from previous:
Sort by

Post a reply
60 posts • Page 6 of 6 • 1, 2, 3, 4, 5, 6

Return to Discuss

Jump to:

### Who is online

Users browsing this forum: No registered users and 0 guests

Donate Now
ProNight Style by ModphpBB3
Hosted by © 2017 FreeForums.org | Create a free forum | Powered by phpBB
A Member of the Crowdgather Forum Community
About FreeForums | Legal | Advertise Here | Investors | Contact FreeForums.org
Report Violation
suspicion-preferred