LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   emergency ask for help on booting not from hard disk (https://www.linuxquestions.org/questions/linux-newbie-8/emergency-ask-for-help-on-booting-not-from-hard-disk-694200/)

a_minor 01-01-2009 01:37 AM

emergency ask for help on booting not from hard disk
 
Hi,

now I explain exactly what I need,

I have a fc10 on IBM architecture , I need to boot from a CD-ROM or USB drive , and I need just start-up process to use it, it means that T just want that this external drive mounting the actual root partition and loading the kernel image (exactly as what i need for booting process),
and I have this problem that I've not available vlinuz and initrd.gz file in /boot path! what must I do?

I've written a bootable cd-rom as this way:

Code:

cp /boot/{vmlinuz-2.6.27.5-117.fc10.i686,\
initrd-2.6.27.5-117.fc10.i686.img} syslinux-3.72/core/isolinux.bin bootcd

and then for producing iso file:
Code:

mkisofs -o bootcd.iso -b isolinux.bin -c boot.cat -no-emul-boot\
 -boot-load-size 4 -boot-info-table -j -hide-rr-moved -R bootcd

but , when I boot from CD_ROM ,it asks for as "boot>" that I try vmlinuz , that wasn't any acceptance to it,

I also need to have dual boot with winxp, so if it need to edit the grub.conf file or if an other file please guide me how can I and what changes, thanks



please help me as soon as possible,because Iĺl be confused more and more!!

cmnorton 01-01-2009 09:01 AM

CD-Based Linux?
 
I'm not sure what you want either.

If you use a CD-based distro, like Knoppix, you can mount your hard-drive partitions, and access the data there.

If you want to initiate boot from a CD, but actually use the hard-drive Linux kernel in /boot (on the hard-drive), then I believe you can give parameters on several of the CD-based Linux distros' command lines.

a_minor 01-01-2009 10:11 AM

Quote:

Originally Posted by cmnorton (Post 3393456)
If you want to initiate boot from a CD, but actually use the hard-drive Linux kernel in /boot (on the hard-drive), then I believe you can give parameters on several of the CD-based Linux distros' command lines.

thatś right!
before I must say that I have 3 os: vista,xp and fc10 on my /dev/sda in this sequence that : sda1 partition for vista system files and sda7 is for fc10 root partition system files, as this explained image:

Code:

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1              1        1040    8345600  27  Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2  *        1040      10178    73408135+  7  HPFS/NTFS
/dev/sda3          10179      30401  162441247+  5  Extended
/dev/sda5          10179      17345    57568896    7  HPFS/NTFS
/dev/sda6          17346      23873    52436128+  7  HPFS/NTFS
/dev/sda7          23874      25785    15358108+  83  Linux
/dev/sda8          25786      26295    4096543+  82  Linux swap / Solaris
/dev/sda9          26296      28300    16105131  83  Linux

the following is my grub.conf:
Code:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,6)
#          kernel /boot/vmlinuz-version ro root=/dev/sda7
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.5-117.fc10.i686)
        root (hd0,6)
        kernel /boot/vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=a1baee87-117b-479c-bb33-57d4bce83871 rhgb quiet
        initrd /boot/initrd-2.6.27.5-117.fc10.i686.img
title Other
        rootnoverify (hd0,1)
        chainloader +1

now if I prefer to initiate boot from a CD, but actually use the hard-drive Linux kernel in /boot (on the hard-drive), what parameters must be edited?

thanks in advance of your attention


All times are GMT -5. The time now is 01:00 PM.