[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
setup(hd0,2) results in Error 22
From: |
Hanno 'Rince' Wagner |
Subject: |
setup(hd0,2) results in Error 22 |
Date: |
Fri, 15 Jun 2001 01:06:46 +0200 |
User-agent: |
Mutt/1.2.5i |
Hi,
since my LILO didn't want to work anymore I just tried to
use GRUB as replacement. First, I tried to install grub with a proper
menu.lst, but this didn't work so I tried it step by step.
Currently, I am running linux-2.4.0-ac8
on my Laptop (an Compaq Armada M700) with a drive with the following
specifications:
hda: IBM-DBCA-206480, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: 12685680 sectors (6495 MB) w/420KiB Cache, CHS=839/240/63
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 p8 p9 >
I installed the Debian-Package of GRUB which has currently the Version:
Version: 0.5.96.1-0.1
On this machine there are two Operating Systems:
On partition 0 there is Windows 98 on FAT32,
On partition 1 there is Drive D: of Win98 (FAT32).
Partition 2 is the Bootpartition, which is mounted under linux as /boot
Primary-Partition 3 is parted as the following:
Partition 4 is the Swap-Partition under Linux
Partition 5 is the Root-Partition under Linux
Partition 6 is the /usr-Partition under Linux
Partition 7 is the /var-Partition under Linux
Partition 8 is the /home-Partition under Linux
The fdisk-Geometry shows the following
Disk /dev/hda: 240 heads, 63 sectors, 839 cylinders
Units = cylinders of 15120 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 278 2101648+ b Win95 FAT32
/dev/hda2 279 557 2109240 b Win95 FAT32
/dev/hda3 558 558 7560 83 Linux
/dev/hda4 559 839 2124360 5 Extended
/dev/hda5 559 591 249448+ 82 Linux swap
/dev/hda6 592 617 196528+ 83 Linux
/dev/hda7 618 720 778648+ 83 Linux
/dev/hda8 721 746 196528+ 83 Linux
/dev/hda9 747 839 703048+ 83 Linux
I installed the package and used grub-shell to install it:
GRUB version 0.5.96.1 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd0,2)
Filesystem type is ext2fs, partition type 0x83
grub> find /vmlinuz-2.4.0-ac8
(hd0,2)
grub> kernel /vmlinuz-2.4.0-ac8 root=/dev/hda6 vga=792
[Linux-bzImage, setup=0x1400, size=0xe1b2d]
grub> setup (hd0,2)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "install /boot/grub/stage1 d (hd0,2) /boot/grub/e2fs_stage1_5 p /boot/
grub/stage2"... failed
Error 22: No such partition
with debugm, I get the following:
grub> debug
Debug mode is turned on
grub> setup (hd0,2)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "install /boot/grub/stage1 d (hd0,2) /boot/grub/e2fs_stage1_5 p /boot/
grub/stage2"... <512, 0, 512>[8422352]<513, 0, 512>[8422353]<513, 0, 512>[84223
53]<514, 0, 1024>[8422354][8422355]<516, 0, 1024>[8422356][8422357]<518, 0, 102
4>[8422358][8422359]<520, 0, 1024>[8422360][8422361]<522, 0, 1024>[8422362][842
2363]<524, 0, 1024>[8422364][8422365]<526, 0, 416>[8422366]<597, 0, 512>[842243
7]failed
Error 22: No such partition
Any hints what goes wrong there? I looked into the FAQ about haveing an own
/boot-directory, but even the hints there (using /boot/boot/grub or
cd /boot && ln -s boot . didn't work.
Ciao, Hanno
--
| Hanno Wagner | Member of the HTML Writers Guild | address@hidden |
| Eine gewerbliche Nutzung meiner Email-Adressen ist nicht gestattet! |
| 74 a3 53 cc 0b 19 - we did it! | Generation @ |
#``Answer me these questions six, ere thy broken code we'll fix!''
#6. What is the proper case of a relative pronoun functioning as a nominative
# in a subordinate clause itself entirely governed by a preposition?
# -- Tom the Enchanter <address@hidden> in comp.lang.perl
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- setup(hd0,2) results in Error 22,
Hanno 'Rince' Wagner <=