Error 2: Bad file or directory type for other OS on same disk
Bug #207001 reported by
Taleman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub |
Invalid
|
Undecided
|
Unassigned | ||
grub (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: grub
I removed all partitions from disk and created 4 primary partitions:
hda1 swap
hda2 Finnish Debian GNU/Linux Lenny
hda3 English Debian GNU/Linux Lenny
hda4 XUbuntu 8.04 Beta
I installed XUbuntu last, and the boot menu it created fails to start the Debian installations. For both I get
Error 2: Bad file or directory type
Press any key to continue...
I had this same problem previously with XUbuntu Alpha 6, but I thought it was because I had resized partitions to make room for the installed new systems, and maybe that had messed up the partition table somehow. But now partitions were made with Lenny installer, and have not been resized.
Changed in grub: | |
importance: | Undecided → High |
status: | Fix Released → New |
To post a comment you must log in.
I don't know if it there are same problems: sidux.com/ Article416. html : e2fsprogs. sourceforge. net/e2fsprogs- release. html#1. 40.5 )
From http://
"...
- e2fsprogs ≥ 1.40.5 creates ext3 filesystems with 256 byte large inodes by default (in contrast to 128 byte used before), to accommodate for further ext4 related changes ( http://
...
Using any of these new features requires updating the bootsector of your system. Bootsectors written by "grub or earlier versions of "grub-gfxboot" are not able to boot or even access partitions using any of these new features!
While these changes don't affect existing systems, we strongly recommend updating your bootsectors using:
grub-install --recheck --no-floppy <raw device or partition>
to get access to newly created ext3 (with inode sizes exceeding 128 byte) partitions, ..."
I have the problem with new installation of sidux-2008-1 and mandriva-2008.1 alongside my Kubuntu Gutsy (GRUB Error 2: Bad file or directory type). If new distribution versions are using e2fsprogs ≥ 1.40.5 for formatting of partitions during installation, then current GRUB installation doesn't recognize these partitions. But in my Gutsy installation "sidux" solution "grub-install --recheck --no-floppy <raw device or partition>" is not efficient (i don't know why). I did workaround: formatting partition selected for installation inside my actual old distribution (provide 128 byte large inodes) and then installation of new distribution on this partition without(!) formatting. This solution is working in my case for sidux-2008-1 and also mandriva-2008.1 with GRUB provided by Gutsy. But actual versions of Hardy and Lenny are both using e2fsprogs=1.40.8. Maybe is not in one of them creating 256 byte large inodes set by default, i don't know and i don't understand why is this problem in GRUB.