LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Flashing Grub Cursor after attempted dual boot (https://www.linuxquestions.org/questions/linux-newbie-8/flashing-grub-cursor-after-attempted-dual-boot-319768/)

daverutt 05-03-2005 01:32 PM

Flashing Grub Cursor after attempted dual boot
 
I don't seem to have any luck with this dual booting malarky

here's my set-up

Asus pundit-r barebones case, 1 gb crucial pc3200 RAM, Celeron D 2.4ghz cpu, 120gb maxtor SATA Drive and Nec DVD drive.

I'm running windows 2000 on it in two partitions, C: drive of 20gb and D: drive of 100gb.

I recently got a copy of Suse 9.2 professional after failed attempts to dual boot Mandrake 10. Started the installation of Suse, and basically left it to it's own devices to install, didn't change the partitioning or boot loader.

When i came back to it after about 15 mins all there was on the screen was the word GRUB with a flashing cursor next to it.

i read on a different thread that GRUB tries to load from the MBR of the primary IDE master device (which in my case is the CD-ROm Drive, the hard drive being the serial ATA Master device in the bios)

Would changing the jumpers on the cd-rom drive to make it the slave device help at all?

Or is there something that I'm missing?

cheers for any help

marghorp 05-03-2005 01:58 PM

First thing to do is boot. you should locate the grub.conf file with the find command.

find /grub/grub.conf
or
find /boot/grub/grub.conf

This will print out a partition in form of (hd0,0) or so.

Then just run root (hd0,0) (depending on what the result was, make changes.

This should all go without errors.

then run kernel /kernel (press TAB to get options)
or
kernel /boot/kernel (press TAB to get the options)

then run
initrd /initrd (press TAB)
or
initrd /boot/initrd (press TAB)

The right ones are the ones, that do not produce errors.

Once you have run all these without errors (might take some changing from you) Just experiment, you cant mess anything.

Press TAB a lot of times after every command you type, to give you more options.

Ok, so let's say you got through without errors. Just type boot and press ENTER and away you go to Linux.

Once in linux. login as root and let us know :)

Try to post your fdisk -l results and /boot/grub/grub.conf file contents.

daverutt 05-03-2005 02:03 PM

i'll try it out

expect more questions from me though!

cheers

daverutt 05-03-2005 04:19 PM

right i tried to do what you said but to be perfectly honest i really don't understand it

all i'm getting whenever i turn on the computer is GRUB and a flashing cursor

I managed to boot into Suse via the installation disc, but that's not really practical and I can't get into windows at all

anyway to completely remove the linux installation, restore it back to just windows and start again?

:newbie: :newbie:

beagle2 05-03-2005 05:42 PM

All is not lost hopefully - get a linux live cd of some kind and you can access your linux partitions and boot/grub/grub.conf and post the results here. Knoppix is superb but its a 700mb download so dsl is an excellent alternative at around 50mb. You say you can boot into suse with the installation disc so maybe thats a live cd, i dont know suse at all. Anyway with any luck the situation aint totally hopeless.

Boow 05-03-2005 08:36 PM

at the grub prompt

config /boot/grub/menu.lst

if that fails try below

root (hd0,x)
kernel /boot/vmlinuz-xxxx root=/dev/hdax
initrd /boot/initrd-xxx
boot

hit return after each of those commands

I dont know what partition you install your distro to so I cant supply the x's like the guy said above use tab to complete entrys. I'll explain how grub counts the partitions. grub starts counting at 0 so

/dev/hda1 would be (hd0,0) in grub /dev/hda2 would be (hd0,1) in grub.


daverutt 05-04-2005 03:59 AM

I can't seem to type anything at the GRUB prompt, all it does is sit there flashing. I tried changing the boot loader to Lilo and that did the same thing.

Sorry to be an uber-newbie but where would I run fdisk, do I need to be logged into linux and open a command window for it, or can i run it from the rescue mode on the installation disc

I'm pretty sure that the linux program is in /dev/hda7, which i suppose would be hd0,6 for GRUB

I've managed to get back into windows by putting in my windows 2000 installation cd and running the rescue mode with the fixmbr command, though now I don't seem to even be able to see my linux installation

Is there any chance that the problem could be to do with where on the drive the linux os was installed? I had my hard drive split into 2 partitions for windows,and the Suse install resized my D Drive and put it there, there wouldn't be problems due to the 1024 boot cylinder limit because of this would there?

very very stuck indeed

Chromezero 05-04-2005 04:43 AM

Just a thought here, but is your hard drive set to "LBA" mode in your bios? I had a similar problem some time ago after building a new system. I discovered that in my bios, my HD was set to auto by default. After I changed it to "LBA", everything worked fine.

daverutt 05-04-2005 04:45 AM

I did check this but the only options I seem to have in my BIOS are auto or disabled for the LBA


All times are GMT -5. The time now is 06:11 AM.