GRUB Problem, bootloader messy
Important note: I'm using ubuntu dapper a bit tweaked. I asked in ubuntu forums for help but no one have come....
Okay guys, I really need a hand here I installed windows today in another partition, MBR took over , this is how I messed up Right now it's a miracle i'm logged in to my ubuntu partition, i've been playing with lady luck for a while I installed GRUB again but the problem is root (hd0,1) gives me "can't mount" then i tried editing with (hd0,2) which worked then noticed that it didn't work , then noticed that the hda mounting said "2" and changed it to "3" and it started to boot as you see i have a mess right now i want to install my GRUB correctly and flawless, knowing that my linux partition is safe i'm glad because i have a lot of data here my fstab Quote:
Quote:
root (hd0,2) kernel /boot/vmlinuz-2.6.15-26-k7 root=/dev/hda3 ro quiet splash initrd /boot/initrd.img-2.6.15-26-k7 savedefault boot i'm actually very nervous right now , to be honest is my first time playing with GRUB and i don't want to make any mistakes >_< anyway i hope anyone here can help me if there is a way to to re-install GRUB with the right things.. please post it :) |
I'm assuming you've re-installed Grub onto the MBR and this is how you've booted into your computer. If not, then you need to follow the instructions on the Grub website to re-install it.
What is the layout of your hard drive? I'm trying to piece it together from the menu.lst. More specifically, what partition is your kernel sitting on (i.e., /dev/hda1, /dev/hda2, etc.); what partition is your root file system sitting on (this may or may not be the same partition as your kernel); what partition is your windows installation on? Please post the actual errors in their entirety, as it will be diagnose the problem. Please also post the contents of your /boot directory. ~Justin |
I believe my kernel is on /dev/hda3
Actually let me explain more What i did was, I inserted the live cd I went to terminal typed sudo grub typed 'root (hd0,1)' (if im not mistaking) typed 'setup (hd0)' it said some things and i restarted GRUB did install but when i looked over again it didn't want to boot, so like i said above in the other post i had to change a few numbers the partition of my windows.. i don't know well.. i have to check due to i'm a bit confused of what have happened |
If it booted to the Grub screen at all (regardless of whether it booted all the way) then you probably installed Grub correctly. You can always go back and change the boot options if they don't work right. I promise that there is nothing you can do by editing the boot options that will lock you out of your computer, so don't worry about that. You will always be able to get to the Grub boot screen again.
Unfortunantly, I'm not sure what you need help with? Sorry if I've missed the point, please ask your question again. ~Justin |
it looks to me that you your mbr setup correctly to bring up the grub boot loader. that means your menu.lst aka grub.conf is messed up this is a common problem. I have found the the only operating system that will boot ok is the last one installed.
The only help i have is just to point out that grub numbers partitions and disks starting with 0 (zero) and linux numbers partitions starting with 1 (one). What that means is the first partition in grub is (hd0,0) and in linux is /dev/hda1. Just looking at your menu.lst and fstab i would say ubuntu is installed on the second partition (hd0,1) grub aka /dev/hda2. but you say it is on the 3rd partition. It looks like at this point you can boot to ubuntu but you cant boot windows. is that correct. |
Yup, correct, i'm confused because the numbers .. well mostly because i just got all confused
but now i'm settling down , trying to do it calmly, it looks like i did something wrong by inserting root (hd0,1) or who knows, the problem i got confused was because of the partitioners first it said some numbers then after i installed windows, the numbers changed or something. i think its just me of course if they changed then /hda3 wouldn't be working... lets see if i figure out this =/ |
All times are GMT -5. The time now is 09:10 PM. |