Re: Booting from hard disk

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

 



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 (2.6.31.6-166.fc12.x86_64)
	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



Boot.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux