Booting live cd from hdd

francois.e
Posts: 25
Joined: 16. Aug 2010, 00:20

Booting live cd from hdd

Post by francois.e »

I am trying to boot live cd from hdd. What is wrong in my grub menu.lst:

title Salix on hdd
root (hd0,7)
kernel /boot/vmlinuz ramdisk_size=6666 max_loop=256 root=/dev/ram0 rw changes=/salixcfg fromhd=/mnt/sda8
initrd /boot/initrd.gz
4-stroke
Posts: 34
Joined: 20. Nov 2009, 07:00
Location: Sweden
Contact:

Re: Booting live cd from hdd

Post by 4-stroke »

francois.e wrote:I am trying to boot live cd from hdd. What is wrong in my grub menu.lst:

title Salix on hdd
root (hd0,7)
kernel /boot/vmlinuz ramdisk_size=6666 max_loop=256 root=/dev/ram0 rw changes=/salixcfg fromhd=/mnt/sda8
initrd /boot/initrd.gz
I'm pretty sure that's supposed to be ro. It gets remounted read/write later on in the boot
process.
francois.e
Posts: 25
Joined: 16. Aug 2010, 00:20

Re: Booting live cd from hdd

Post by francois.e »

Thanks for the suggestion. I have tried ro. In addition I removed the max loop cheatcode. I get the same error message:

...
ram0: rw=0, want 15364, limit 13332
ram0: rw=0, want 15364, limit 13332
ram0: rw=0, want 15364, limit 13332
ram0: rw=0, want 15364, limit 13332
ram0: rw=0, want 15364, limit 13332
ram0: rw=0, want 15364, limit 13332
...

Here is part the menu.lst for three partitions that I have:

title Salix live on hdd
root (hd0,7)
kernel /boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 ro changes=/salixcfg
# fromhd=/mnt/sda8
initrd /boot/initrd.gz

title Zenlive 6.4 beta on hdd
root (hd0,5)
kernel /boot/vmlinuz ramdisk_size=6666 max_loop=256 root=/dev/ram0 rw changes=/zencfg fromhd=/mnt/sda6
initrd /boot/initrd.gz

title SLAX 6.1.2 STANDARD
kernel (hd0,2)/boot/vmlinuz ramdisk_size=6666 max_loop=256 root=/dev/ram0 rw autoexec=telinit~4 changes=/slax612cfg fromhd=/mnt/sda3
initrd=(hd0,2)/boot/initrd.gz
boot
4-stroke
Posts: 34
Joined: 20. Nov 2009, 07:00
Location: Sweden
Contact:

Re: Booting live cd from hdd

Post by 4-stroke »

Try increasing the ramdisk size. ramdisk_size=8000 or something.
francois.e
Posts: 25
Joined: 16. Aug 2010, 00:20

Re: Booting live cd from hdd

Post by francois.e »

This is it. You got the solution. Increasing to 8000 did the job.

All my respects.
francois.e
Posts: 25
Joined: 16. Aug 2010, 00:20

Re: Booting live cd from hdd

Post by francois.e »

The final menu.lst for Salix is:

title Salix on hdd
root (hd0,7)
kernel /boot/vmlinuz ramdisk_size=8000 root=/dev/ram0 ro changes=/salixcfg fromhd=/mnt/sda8
initrd /boot/initrd.gz

You have to create a /salixcfg folder in the partition sda8.
francois.e
Posts: 25
Joined: 16. Aug 2010, 00:20

Re: Booting live cd from hdd

Post by francois.e »

The above solution worked fine for a MSI X340 ultraslim laptop, see specs:

http://www.msimobile.com/level3_product ... d=4&id=168

However it does not work for a hp pavilion 1540ca laptop, see:

http://h10025.www1.hp.com/ewfrf/wc/docu ... ct=1838153

Here is the error message once the live files are on hdd:

Splashy ERROR: libsplashy: framebuffer is not configured properly see http: //tinyurl.com/339h67
4-stroke
Posts: 34
Joined: 20. Nov 2009, 07:00
Location: Sweden
Contact:

Re: Booting live cd from hdd

Post by 4-stroke »

Did you try what is suggested in the link from the error message?

Code: Select all

Make sure your bootloader config file has the vga=791 splash parameter. Values bigger than 792 might not be supported by VESA; make sure that your resolution is within the allowed range.

For GRuB users this is done through the /boot/grub/menu.lst file, in the lines nonaltoptions, kopt or kernel (for the kernel you are running), adding vga=791 splash. 
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Booting live cd from hdd

Post by JRD »

The correct line is :

Code: Select all

kernel /boot/vmlinuz ramdisk_size=8000 root=/dev/ram0 rw quiet lang=XX keyb=YY changes=/salixcfg fromhd=/mnt/sda8
with XX = fr_FR.utf8 for me
and YY = fr-latin9
Add "numlock=on" too if you want to have numeric lock activated on startup.
The ramdisk is mounted read/write, so yes, it's "rw" not "ro". It works with "ro" because it's remounted read/write if mounted readonly at start.
Image
ikke
Posts: 263
Joined: 5. Feb 2010, 22:47

Re: Booting live cd from hdd

Post by ikke »

JRD wrote:The correct line is :

Code: Select all

kernel /boot/vmlinuz ramdisk_size=8000 root=/dev/ram0 rw quiet lang=XX keyb=YY changes=/salixcfg fromhd=/mnt/sda8
.
Thank you for providing this grub entry.

Wish to tell you that ' ramdisk_size=6666' works fine for me. But have added 'loadload_ramdisk=1 prompt_ramdisk=0'. Guess these options are no longer necessary. Kindly confirm.
Post Reply