How Configuring Grub2 for Live CD

waqar afridi afridi.waqar at gmail.com
Tue Aug 31 07:09:34 UTC 2010


Hi List

This is my First mail on this List and I dont know wither I should ask this
question on this list or not, if not then Please Redirect me.

I am making a live CD of my Currently Running Ubuntu (10.04) using this
Guide

http://ubuntuforums.org/showthread.php?t=688872

but the Grub Portion is for Grub 1, Any help how would I convert them to
Grub 2, Below are my Changes that I made but they Didn't worked

menuentry 'Start Linux in Graphical Mode' --class ubuntu --class gnu-linux
--class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set cf27fe07-50e5-4178-9bd9-c04bc4993be3
    linux    /boot/vmlinuz-2.6.32-24-generic-pae BOOT=casper boot=casper
nopersistent rw quiet splash
    initrd    /boot/initrd.img-2.6.32-24-generic-pae
}
menuentry 'Start Linux in Safe Graphical Mode' --class ubuntu --class
gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set cf27fe07-50e5-4178-9bd9-c04bc4993be3
    echo    'Loading Linux 2.6.32-24-generic-pae ...'
    linux    /boot/vmlinuz-2.6.32-24-generic-pae BOOT=casper boot=casper
xforcevesa rw quiet splash
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-2.6.32-24-generic-pae
}

menuentry 'Start Presistent Live CD' --class ubuntu --class gnu-linux
--class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set cf27fe07-50e5-4178-9bd9-c04bc4993be3
    linux    /boot/vmlinuz-2.6.32-24-generic-pae BOOT=casper boot=casper
persistent rw quiet splash
    initrd    /boot/initrd.img-2.6.32-24-generic-pae
}

menuentry 'Start Linux Graphical Mode from RAM' --class ubuntu --class
gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set cf27fe07-50e5-4178-9bd9-c04bc4993be3
    linux    /boot/vmlinuz-2.6.32-24-generic-pae BOOT=casper boot=casper
toram nopersistent rw quiet splash
    initrd    /boot/initrd.img-2.6.32-24-generic-pae
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set cf27fe07-50e5-4178-9bd9-c04bc4993be3
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set cf27fe07-50e5-4178-9bd9-c04bc4993be3
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}


Any kind of Help would be appreciated

Thanx in Advance

-- 
Waqar Afridi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100831/9b2a1bd9/attachment.html>


More information about the ubuntu-users mailing list