Ramdrive

From Ilianko
Revision as of 16:31, 13 January 2012 by Anko (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

/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