Classic grub problem
Hello, this seems like a classic grub problem.
I had a Ubuntu Jaunty and Vista on dual-boot. Got a special Ubuntu Fiesty LiveCd with a book. I installed the Ubuntu Fiesty on a seperate partition and NOW my new grub (changed by Fiesty) does list Ubuntu 9 and Vista. But I am not able to load the Ubuntu 9. Apparently there is a "Error 2:Bad file or directory type".Vista loads fine. I read few other forums and saw something about a 256-bit inode. But what exactly should I do to fix it? I don't want to end up with a machine that cant load any of the installed OS. Thanks for any help! Additional Info: I went to the grub menu in my terminal and tried "find (hd0,7)" since my ubuntu9 is on sda8 and it returned "File not found". |
When you said `grub menu', did you mean the grub shell?
I think you need to determine whether something happened to your Ubuntu 9's partition. Another possibility is that the partitions have changes. E.G. /dev/sda7 -> /dev/sda8. From Ubuntu Fiesty, look at the partition that has Ubuntu 9 on it. See if you can mount it manually. If you can, you can fix up the /boot/grub/menu.lst file and the /etc/fstab file, and try to boot up to it from the grub menu. Using fdisk, check the type of partition. There is a character in the MBR of a partiton determining the type. Maybe it changed but the filesystem is fine. If that is the case, you can fix it using fdisk. I don't know what you mean by the 256-bit inode. What is the filesystem that your old Ubuntu 9 partition uses? Another possibility is that it uses a filesystem that your new grub installation doesn't support. Look at this listing of /boot/grub/ on my laptop: Code:
ls /boot/grub |
Very likely the inode change is causing the problem - Jaunty will have a patched grub, and you just trashed it. See here for some background.
Simplest would be to use the Jaunty loader again - from a Feisty terminal Code:
sudo grub |
@jschiwal : My ubuntu9 is on sda8[ext3, confirmed by GNOME partition editor] and fiesty even loaded it. I even have an icon on my desktop with which I can browse the files in it.
@sig00 : I did what you said, but it returns ________________________________________________ Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 2: Bad file or directory type _______________________________________________ So, it appears that my sda8 is fine, how do i boot it now? [EDIT : I meant syg00] [EDIT : Pasting a copy of my /etc/fstab in fiesty. Code:
# /etc/fstab: static file system information. |
Is your system still bootable ?. Do you have both the Ubuntu install CDs ?.
|
Yes, my system boots. But the bootloader only lets me access fiesty [which installed the present grub] and the Vista. For some reason, it gives error for ubuntu9.
|
I did it. Problem solved. I used my Ubuntu 9 live CD and made the Grub installed in sda8 to MBR. All works.
The bright side is that I now know my way around GRUB. Cool! Thanks for all the suggestions and the help guys!! |
I hear it's possible for OP to use "Thread Tools" to mark this [solved].
|
All times are GMT -5. The time now is 11:37 AM. |