Difference between revisions of "Ramdrive"
From Ilianko
(Created page with " /boot/grub/grub.cfg if [ "$linux_gfx_mode" != "text" ]; then load_video; fi menuentry 'Ubuntu, with Linux 2.6.38-11-generic' --class ubuntu --class gnu-linux --class gnu --cla...") |
|||
Line 1: | Line 1: | ||
− | |||
/boot/grub/grub.cfg | /boot/grub/grub.cfg | ||
+ | <code><pre> | ||
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi | if [ "$linux_gfx_mode" != "text" ]; then load_video; fi | ||
menuentry 'Ubuntu, with Linux 2.6.38-11-generic' --class ubuntu --class gnu-linux --class gnu --class os { | menuentry 'Ubuntu, with Linux 2.6.38-11-generic' --class ubuntu --class gnu-linux --class gnu --class os { | ||
Line 12: | Line 12: | ||
initrd /boot/initrd.img-2.6.38-11-generic | initrd /boot/initrd.img-2.6.38-11-generic | ||
} | } | ||
− | + | </pre></code> | |
/etc/init.d/rc.local | /etc/init.d/rc.local |
Revision as of 16:32, 13 January 2012
/boot/grub/grub.cfg
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 2.6.38-11-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos3)'
search --no-floppy --fs-uuid --set=root 068226ce-7648-47d0-bea4-d171138ecb68
linux /boot/vmlinuz-2.6.38-11-generic root=UUID=068226ce-7648-47d0-bea4-d171138ecb68 ro quiet splash vt.handoff=7 ramdisk_size=3600000
initrd /boot/initrd.img-2.6.38-11-generic
}
/etc/init.d/rc.local
mke2fs -m 0 /dev/ram0 mount /dev/ram0 /home/ilianko/ram chown ilianko /home/ilianko/ram