PDA

View Full Version : Is there a way to install f17 from harddisk without cdrom or usb?



chdongsh
24th February 2012, 05:34 AM
I tried the way to install f16 from harddisk without cdrom or usb before,but it failed to install f17.
Must to install f17 depend on cdrom or usb?

kldixon
24th February 2012, 06:55 PM
If you have a spare partition on your disk and a Fedora installation using grub then the following works for me to boot the live cdrom.

Get uuid of the spare partition to be used using:-
Applications->System Tools->Device Manager
Then do something like the following


$ su -
# mount -U <uuid of partition> <mountpoint of partition>
# cd <mountpoint of partition>
# mkdir disc
# mount -t iso9660 -o ro,loop=/dev/loop0 Fedora-17-Alpha-i686-Live-Desktop.iso disc
# cd disc
# cp -a LiveOS ..
# cp isolinux/vmlinuz0 /boot/vmlinuz-live
# cp isolinux/initrd0.img /boot/initrd-live.img

Check isolinux/isolinux.cfg for suitable kernel parameters and add a menu
entry to /boot/grub/grub.conf like the following:-


title Fedora 17 Live
root (hd0,0)
kernel /vmlinuz-live root=live:UUID=<uuid of partition> rootfstype=auto ro liveimg quiet rhgb rd.luks=0 rd.md=0 rd.dm=0
initrd /initrd-live.img

then


# cd
# umount disc
# umount <mountpoint of partition>
# exit
$

Restart and select the "Fedora 17 Live" menu entry in grub

chdongsh
25th February 2012, 06:35 AM
thanks , I 'll try