[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Booting from hard disk

On Sun, 13 Dec 2009 03:54:06 +0000, Timothy Murphy wrote:

> Is it possible to boot the KDE Live CD from the hard disk (from the ISO
> file), by adding an appropriate stanza to grub.conf ? If so, what would
> be an appropriate stanza?
> --
> Timothy Murphy
> e-mail: gayleard /at/ eircom.net
> tel: +353-86-2336090, +353-1-2842366
> s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

Put the kernel and the ramdisk from the F12 iso into /boot:

mount -t iso9660 -o ro,loop Fedora-12.iso someDirectory
cd someDirectory
cp isolinux/vmlinuz /boot/vmlinuz-F12
cp isolinux/initrd.img /boot/initrd-F12.img

You can use whatever names you want for vmlinuz and initrd, but whatever 
you use must go into the grub stanza. 

Copy the images directory to disk

cp -r images /some/data/partition

Both the images directory and the Fedora iso must be on a partition that 
won't be formatted during installation. 

Cut and paste any Fedora stanza from grub.conf and edit that to point to 
the F12 vmlinuz and initrd and add "askmethod" on the kernel line:

title Fedora (
	root (hd0,1)
	kernel /vmlinuz-F12 ro root=UUID=343fedb3
d301-4615-99b3-a0dec40fa632  LANG=en_US.UTF-8 rhgb quiet linux askmethod
	initrd /initrd-F12.img

Save and write grub to disk:

/sbin/grub-install /dev/sda


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]