[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-grub] Not able to boot
From: |
Jochen Hoenicke |
Subject: |
Re: [Bug-grub] Not able to boot |
Date: |
Thu, 7 Jun 2001 10:49:37 +0200 |
On Jun 6, Vidya Kulkarni wrote:
> Thanks for the reply. I tried the commands given by you.
>
> After execution of the command
>
> root ( hd0,0) the message is following:
> Filesystem type is fat, partition type 0xc
Seems that (hd0,0) is your Windows/DOS partition. You can boot
Windows with
root (hd0,0)
chainloader +1
boot
To find the location of your linux installation these commands may be
useful:
find /vmlinuz or find /boot/vmlinuz or find /zImage
This command looks on all partitions for the file /vmlinuz (the usual
name of the linux kernel) and prints the partition where it was found.
The command
geometry (hd0)
gives you a list of all your partition, there should be at least one
ext2 or reiserfs partition, where linux resides. If linux is one the
second hard disk use (hd1) instead.
After you select the right partition with "root (hdx,y)" you can use
tab-expansion to list the files there. Enter "kernel /" and press
tab and you should see the files in the root directory.
> After exceuting kernel /vmlinuz root=/dev/hda1 ro
The root= parameter tells the linux kernel where to find its root
partition. So if linux is on (hd0,2) it's /dev/hda3, if linux is on
(hd1,2) it's /dev/hdb3. If you have scsi disks it's /dev/sda3 resp
/dev/sdb3.
Jochen