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
Booting live cd from hdd
Re: Booting live cd from hdd
I'm pretty sure that's supposed to be ro. It gets remounted read/write later on in the bootfrancois.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
process.
-
- Posts: 25
- Joined: 16. Aug 2010, 00:20
Re: Booting live cd from hdd
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
...
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
Re: Booting live cd from hdd
Try increasing the ramdisk size. ramdisk_size=8000 or something.
-
- Posts: 25
- Joined: 16. Aug 2010, 00:20
Re: Booting live cd from hdd
This is it. You got the solution. Increasing to 8000 did the job.
All my respects.
All my respects.
-
- Posts: 25
- Joined: 16. Aug 2010, 00:20
Re: Booting live cd from hdd
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.
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.
-
- Posts: 25
- Joined: 16. Aug 2010, 00:20
Re: Booting live cd from hdd
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
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
Re: Booting live cd from hdd
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.
Re: Booting live cd from hdd
The correct line is :
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.
Code: Select all
kernel /boot/vmlinuz ramdisk_size=8000 root=/dev/ram0 rw quiet lang=XX keyb=YY changes=/salixcfg fromhd=/mnt/sda8
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.
Re: Booting live cd from hdd
Thank you for providing this grub entry.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
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.