Bootable GRUB partition
Posted
by MA1
on Super User
See other posts from Super User
or by MA1
Published on 2010-04-13T18:19:40Z
Indexed on
2010/04/13
18:23 UTC
Read the original article
Hit count: 405
I have a customized live fedora 12 USB which is working fine. What i want to do is to make a partition of my hard disk bootable so that my customized fedora can be run from hard disk. To accomplish this i did the following steps:
- Created a primary partition(/dev/sda2) and format it as ext3 and set it as active.
- Copy all the files in the live usb to /dev/sda2. Following are the live usb contents(all directories): a. boot b. EFI c. LiveOS d. syslinux
- Then i installed the GRUB in boot/grub
- Created the grub.conf in boot/grub
Following are the contents of each directory in the USB:
syslinux/
boot.cat
isolinux.bin
splash.jpg
vesamenu.c32
initrd0.img
ldlinux.sys
syslinux.cfg
vmlinuz0
LiveOS/
livecd-iso-to-disk
osmin.img
squashfs.img
EFI/ boot/
boot.conf
grub.conf
boot.efi
bootia32.conf
bootia32.efi
splash.jpg
splash.xpm.gz
vesamenu.c32
initrd0.img
isolinux.bin
isolinux.cfg
vmlinuz0
boot/grub/
core GRUB files
grub.conf
olpc.fth
Following are contents of grub.conf
default=0 splashimage=/EFI/boot/splash.xpm.gz timeout 2 hiddenmenu
title funLinux
kernel /EFI/boot/vmlinuz0 root=live:LABEL=myFun rootfstype=auto ro liveimg quiet ssb.blacklist=1 selinux=0 vga=normal nomodeset rhgb initrd /EFI/boot/initrd0.img
Now when i try to boot from the hard disk it shows the grub menu and fedora starting to load but during loading it said
No root device found Boot has failed, sleeping forever
So, where is the problem? what i am doing wrong?
© Super User or respective owner