partition numbering changed after installing 7.10 gutsy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After upgrade of 7.04 to 7.10, I could boot to windows XP but booting to UBUNTU gave grub error 15 File not found. Since the grub boot menu displayed properly I suspected a problem in grub's menu.lst. Inspection of menu.lst showed that the partition numbers had changed. The partition number for windows XP was 1 just as it was before. The partition number for UBUNTU had changed from 3 to 4. I used the GRUB boot diskette invoked the "find" function to find that GRUB found UBUNTU in partition 5. I updated menu.lst to change the partition number for the UBUNTU entries to 5. After that the boot function worked properly.
Analysis:
The partitions on my hard disk are as follows in address order:
number/type/file system/usage
0/primary/??/Dell Utility
1/primary/
2/extended/
3/extended/
4/extended/
5/primary/??/Dell Restore
In 7.04 UBUNTU was number 3 as in the list. To get 5 as 7.10 does I would hypothesize that it counts 0 to 3 as the 4 primary partitions (including the primary extended partition) and then counts the the three extended sub-partitions as 4 through 6
Changed in grub: | |
status: | New → Confirmed |
Changed in grub (Ubuntu): | |
status: | Confirmed → Invalid |
I'm not sure this is a duplicate. In bug 8497, the reported problems all involved multiple hard disk systems where the wrong hard disk number was assigned in menu.lst. In this case there was only one hard disk and the hard disk number (hd0) was always correct. The problem that occurred was with the partition number on the hard disk, i.e. (hd0,4) when (hd0,5) was what worked.