bug-grub
[Top][All Lists]
Advanced

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

cannot boot: error 18


From: Andras BALI
Subject: cannot boot: error 18
Date: Sat, 26 May 2001 20:05:12 +0200
User-agent: Mutt/1.3.15i

[ Please CC replies to me, as I'm not subscribed to this mailing list. ]

Hello.

I'm using Debian 'Sid' and grub 0.5.97 and I'm unable to boot using
grub. I have only one hard disk, a 17gb samsung, which has the following
parameters:

,----
| $ hdparm -i /dev/hda
|
| /dev/hda:
|
|  Model=SAMSUNG SV1824D, FwRev=MD100-31, SerialNo=0159J2FKB03434
|  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
|  RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
|  BuffType=DualPortCache, BuffSize=472kB, MaxMultSect=16, MultSect=off
|  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=35606592
|  [...]
|
| $ fdisk -l /dev/hda
|
| Disk /dev/hda: 255 heads, 63 sectors, 2216 cylinders
| Units = cylinders of 16065 * 512 bytes
|
|       Device Boot    Start       End    Blocks   Id  System
|    /dev/hda1             1       261   2096451    6  FAT16
|    /dev/hda2   *       262      2199  15566985   83  Linux
|    /dev/hda3          2200      2216    136552+  82  Linux swap
`----

My BIOS does NOT recognize the hard disk as 17gb large but as 8147 (or
something about) megabytes large. It says that it uses LBA mode.

I used lilo for about a year without any problems. My lilo config looked
like this:

,----
| boot=/dev/hda2
| root=/dev/hda2
| read-only
| linear
|
| delay=10
| install=/boot/boot-menu.b
| menu-title="Boot menu"
|
| image=/boot/vmlinuz
|     label=linux
|
| other=/dev/hda1
|     label=windows
|     table=/dev/hda
`----

Now I've installed grub, with the following commands:

,----
| $ grub
| [...]
| grub> root (hd0,1)
|  Filesystem type is ext2fs, partition type 0x83
| grub> setup (hd0)
|  Checking if "/boot/grub/stage1" exists... yes
|  Checking if "/boot/grub/stage2" exists... yes
|  Checking if "/boot/grub/e2fs_stage1_5" exists... yes
|  Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded. 
succeeded
|  Running "install /boot/grub/stage1 d (hd0) (hd0)1+16 p 
(hd0,1)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
|  Done.
| grub> quit
`----

And my /boot/grub/menu.lst file contains these lines (if it matters):

,----
| timeout 5
| default 0
|
| title linux [default]
| root (hd0,1)
| kernel /boot/vmlinuz root=/dev/hda2
|
| title windows
| rootnoverify (hd0,0)
| makeactive
| chainloader +1
`----

But if I try to boot, grub says it's loading stage 1.5, then it suddenly
halts with 'error 18' (before loading stage 2). Could someone please
explain me what the problem is? Lilo used to work fine...

(Please CC replies to me!)

Thanks in advance && regards,

-- 
BALI, Andra's                                  GPG keyID: 78560E1C
address@hidden     address@hidden     address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]