Page 2 of 3

Re: Salix Live 13.0 beta 2

Posted: 30. Nov 2009, 09:59
by gapan
JRD wrote:I realized there is no grub-install for windows. The sources are of course avaiable and I may try to compile it under cygwin.
I think it's important to be able to put in on USB from Windows for people who wants to test it and do not have or want to burn a CD.
I wouldn't bother with that. There is always unetbootin that can be used from windows users and might be even easier for them than a batch script.

Re: Salix Live 13.0 beta 2

Posted: 30. Nov 2009, 10:39
by JRD
unetbootin doesn't work with grub2 ! That is the problem.
The live environnement will be bootable but with no option at all. No keyboard selection, no languages & the like. It could still be entered on the syslinux command line though...

One option could be to use unetbootin first then if you pass a special option on boot, the live env will install itself correctly (with grub2) in the USB disk.

Re: Salix Live 13.0 beta 2

Posted: 30. Nov 2009, 22:09
by Akuna
Eventually LiveClone will integrate grub2 ;)

Re: Salix Live 13.0 beta 2

Posted: 1. Dec 2009, 00:20
by linus72
Hey Gapan!
Linus72 from Linux Questions
I saw the new Live CD on distrowatch and you know I had to have it:)

I noticed you guys fixed the boot from USB bug
I simply extracted the iso to my USB
as I do with Slax and it worked:)
Of course I already have syslinux 3.83 on USB

Couple Notes for you:

1) Boot cheatcodes; I understand its a beta, but was wondering
why the "changes=/" parammeter wasn't on the append line(s)?
Anyway, I made a folder named "save" in the salixlive folder and then
added the code "changes=/salixlive/save/" to the append line
and it worked just like Slax
so pretty sure copy2ram,etc also work?

2) The bootup off USB seemed to get bogged down while
trying to mount "hdd" or my dvd drive, so it booted maybe
took like 30sec longer than reg Slax..

3) After using the "changes=" code
when I went to reboot it stopped at turning off the pcmcia stuff
and would not reboot, even using cntrl/alt/delete,etc
we''ll see if it does it this time...

Good Stuff:
Loved the nice default desktop
I love it period
Great work and keep it up!!

Re: Salix Live 13.0 beta 2

Posted: 1. Dec 2009, 01:28
by JRD
With syslinux on USB, you don't get the grub2 boot menus.

About the "changes" parameter, it's better to use a loopback device. There is a script (create-slxsave-xfs) on the live CD to create such file.
About the reboot hang on when using the changes parameter...it's probably a bug ^_^

I'm currently trying to compile grub2 for windows, to better install the live iso on an usb stick from the evil OS.
It's a bit tricky, but I'm pretty close (I need to adapt the bash scripts and test it of course :p)

Re: Salix Live 13.0 beta 2

Posted: 1. Dec 2009, 02:15
by linus72
oh
yeah I didnt think about grub2 menu...

yeah, I knew about the loopback too
I boot MooLux-5.4 too
its pretty cool

I like SalixOS better, like light XFCE vs KDE anyday:)

I noticed it only did the hang at reboot
when using the "changes" code...
maybe I didn't let it get done
I waited like 45 secs before manual reboot

it stops right before its gonna say
saving random seed,etc

also, is it hard to make a grub2 iso??
I have a script to make grub iso's
so maybe you can tell me the syntax for making a grub2 iso??

Thanks and great work

Re: Salix Live 13.0 beta 2

Posted: 1. Dec 2009, 11:17
by laprjns
JRD wrote:@laprjns : my script is not perfect. It should work if you remove the trailing slash :

Code: Select all

./install-on-USB ../Download/salixlive-13.0-beta2.iso /media/disk
.
Yeah that was it. Thanks
Rich

Re: Salix Live 13.0 beta 2

Posted: 1. Dec 2009, 15:20
by Shador
linus72 wrote:also, is it hard to make a grub2 iso??
I have a script to make grub iso's
so maybe you can tell me the syntax for making a grub2
Well, it's not that hard, I needed a trick though, because per default grub2 only offers to create a rescue image. ;)

Here are all the scripts files I used:
http://gaia.homelinux.org/salix/livegrub2/

Most important are those which are also in the build.tar.bz2.
Basically one could use the build.sh there like that to convert an ISO to grub2 (simplest scenario):

Code: Select all

build.sh --overlay=/path/to/some/iso --config=/path/to/grub.cfg --out=/path/to/output/iso
Whereas grub.cfg needs to be a valid grub.cfg. Basically one menuentry to boot the kernel is enough.
I recommend one never touches root or prefix, because otherwise one may limit it to a certain device range, per default it seems to set the device it's booting from. If you load multiple configfile (thus create a new environment) it's necessary to always export root and prefix and any variable which should be kept in every new environment. There's a misbehaviour in the export function (variables marked for export are exported to the new environment, but in that environment not again marked for export). I sent the devs a patch before 1.97 but until today (or the last time I checked svn) the problem still exists. :roll:

Re: Salix Live 13.0 beta 2

Posted: 4. Dec 2009, 16:42
by linus72
Thanks for the great info brother!

I been working on some of this myself
and have found some good info for you too
http://www.sidux.com/index.php?module=W ... Grub2Intro

I am attempting a grub2 iso now, going with easy ubuntu for now...

I'll update you on how it goes:)

Re: Salix Live 13.0 beta 2

Posted: 5. Dec 2009, 14:33
by JRD
Could this be discussed in a proper grub2 topic please ?
Here is the topic for the salix live 13.0 beta 2.