bug-grub
[Top][All Lists]
Advanced

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

Error 22: No such partition


From: Andries . Brouwer
Subject: Error 22: No such partition
Date: Thu, 17 May 2001 16:34:37 +0200 (MET DST)

(i) [Problem]
After fixing the bug in grub-install mentioned in the
previous letter, I tried

grub-install --root-directory=/boot /dev/hda

but this fails with "Error 22: No such partition".
Now /boot is in fact on hdb, and the description
of this error message suggests that perhaps the
GRUB bootstrap must be on the same disk as the GRUB files,
but also

grub-install --root-directory=/boot /dev/hdb

fails with the same error message.


(ii) [Flaw]
It looks like the commands are preceded by 74 spaces:

grub>                                                                          
root (hd1,0)
 Filesystem type is ext2fs, partition type 0x83

grub>                                                                          
setup  --stage2=/boot/boot/grub/stage2 --prefix=/boot/grub (hd1)

This gives some strange, funny effect, with precisely 1 symbol
at the end of a line before it is wrapped.


(iii) [Flaw]
There is no good man page.

(If you object that there is an info file - no, that doesnt count.
Far too low information density. Moreover, it fails to give the
needed information.)


(iv) [Flaw]
The part of the info file that talks about CHS is very dated.
Maybe that text was reasonable in 1996, but it is not today.

Andries



reply via email to

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