LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-16-2004, 06:36 AM   #1
alxp
LQ Newbie
 
Registered: Sep 2004
Posts: 12

Rep: Reputation: 0
Boot hangs with the 'GRUB' message - no solution found


I won't be very descriptive : I have EXACTLY the same problem as described in this post :
showthread.php?s=&postid=1113185#post1113185

Unfortunately, the given solution was not the good for me.

I have to add that in my case, this is the configuration :
- I installed linux (FC2) on an external USB disk (/dev/sda), the first boot partition (/dev/sda2) is under the 1024th cylinder, followed by the root and the swap partition.
- Following some advices about installing linux on an external disk, I installed my bootloader, GRUB, on the boot partition rather than in the MBR of my internal disk (the aim was not to change anything on it). This way, when I plug the USB drive into any computer able to boot from it, it should boot linux, else, it boots Windows. I've been told things should work like this. But when I do so, everything hangs jsut after the message 'GRUB' is displayed.
I must also add that, during the installation, I got an error message saying something like : "Unable to aligne partition tables, ... This could be caused by another partitioning tool which didn't had the correct BIOS geometry, ... It is safe to ignore this, but doing so could cause (fixable) booting problems". I indeed ignored, and all the installation went without any other problem. The fact is that I made the installation with my external usb hard drive completely blank, making the partitions with disk druid, so I'm pretty sure that this message concerned my internal disk, that's why I ignored it, and that's why I think that it doesn't concern my problem.

If someone could help me, I would be very greetful, I can't even start Linux with the rescue CD's, as it doesn't automatically detect the linux installation on the usb drive. My only solution is to make a bootable usb key (I work on a laptop, so I don't have any floppy drive), but I prefer doing it as a last solution...

Alex
 
Old 09-16-2004, 08:10 AM   #2
methuselah
LQ Newbie
 
Registered: Oct 2003
Location: Drouin, Australia
Distribution: Ubuntu 9:10
Posts: 19

Rep: Reputation: 0
Hi, when you say "everything hangs just after the message 'GRUB' is displayed." do you mean the GRUB prompt ?

It looks like

GRUB >

If so, GRUB is waiting for you to tell it where to boot from,

try the following

GRUB > cat (hd0,0)/boot/grub/menu.lst

This should give you the kernel details,

You can also test the configuration by the following

GRUB > configfile (hd0,0)/boot/grub/menu.lst

if this doesn't work, try

GRUB >configfile (hd0,0)/boot/grub.conf

Good luck
 
Old 09-16-2004, 08:38 AM   #3
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Quote:
I must also add that, during the installation, I got an error message saying something like : "Unable to aligne partition tables, ... This could be caused by another partitioning tool which didn't had the correct BIOS geometry, ... It is safe to ignore this, but doing so could cause (fixable) booting problems". I indeed ignored, and all the installation went without any other problem. The fact is that I made the installation with my external usb hard drive completely blank, making the partitions with disk druid, so I'm pretty sure that this message concerned my internal disk, that's why I ignored it, and that's why I think that it doesn't concern my problem.
I have a sneaking suspision that this is this bug. It's a fairly long read, but it might shed some light.

Baldrick
 
Old 09-17-2004, 09:54 AM   #4
alxp
LQ Newbie
 
Registered: Sep 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Thank you for your answers.

I'm sorry I didn't precise it, as it is the same as with the user I was refering to (I just put a part of the url of his post as I can't post urls, but it's on linuxquestions.org/questions/showthread...).

No, I have GRUB written, then a _ prompt but that is completely unresponsive. Earlier, I was in the same situation, but with the BRUB Geom Error message (but unresponsive), I read some stuff on the web suggesting to install the first partition, even with a recent BIOS, under the 1024th cylinder (because some programs still assume it's this way). I did, and I don't have this error anymore, but rather the one I described, that is just a GRUB message and a none responsive prompt (even Alt-Ctrl-Delete doesn't 'always' work).

Still any ideas ?


Thank you for your help.
 
Old 09-17-2004, 11:21 AM   #5
alxp
LQ Newbie
 
Registered: Sep 2004
Posts: 12

Original Poster
Rep: Reputation: 0
OK so I read this extensive bug report, but it is not my problem.

In fact I have no conflicts with the windows boot loader, which remains alone in the MBR of my main internal drive (and I thank god for not having done so !!!). My GRUB bootloader is installed in the LINUX boot partition, on its own drive, which happens to be a USB drive, although it shouldn't affect anything (apart from having some troubles having /dev/sda recognized by Disk Druid during installation). This message with "aligne partitions" error seems to be, as I expected, caused by partition magic, but should not be a problem here, as it concerns my internal drive, with Windows on it.

It might seem a little confused now, but that's exactly how I am now...
 
Old 09-17-2004, 04:59 PM   #6
methuselah
LQ Newbie
 
Registered: Oct 2003
Location: Drouin, Australia
Distribution: Ubuntu 9:10
Posts: 19

Rep: Reputation: 0
Grub boots the computer in two (or three stages) - it sounds to me that it has found the 512 bit file in the boot record of your USB drive, and is looking for the next stage, which is usually in the boot partition.

How are you getting the computer to boot - do you have an option in your Windows boot loader to start the usb if it is connected, or are you making changes to the BIOS settings.

I think I have an article which describes your problem, but at the moment I am trying to get my head round what is actully happening. I will see if I can find the printout and post some more info for you.
 
Old 09-18-2004, 03:30 AM   #7
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
tried installing GRUB into the "MBR of your USB drive" ?
Keep in mind when you install GRUB bios boot order is important, for example if GRUB is installed when its the first boot device in bios, it needs to stay that way in order for it to work.
So what you can try do, is get a livecd distro such as Knoppix, mount your Linux partitions on the usb drive if necessary, create a device.map file which looks something like this:
Code:
(hd0)   /dev/sda
then reinstall GRUB
Code:
grub --device-map=device.map

grub> root (hd0,1) 
grub> setup (hd0)
adjust the paths if necessary
also the "root (hd0,1)" part you enter in grub console refers to your /boot partition, not the Linux root partition. Since you said /dev/sda2 I assume its the second partition on the drive.
 
Old 09-20-2004, 01:23 AM   #8
alxp
LQ Newbie
 
Registered: Sep 2004
Posts: 12

Original Poster
Rep: Reputation: 0
I just put the USB drive in the BIOS boot sequence to start before the internal. In the boot options of the BIOS, the USB drive appears exactly as the internal, that is to say, in the Hard Disk category, the name of both of them appear, followed by USB in parentheses for the one and PM for the other. So it is the BIOS which directly looks for booting code in the USB drive. Windows should never have to intervene into this.

As for reinstalling grub, I will try it as soon as I can, although everything looked correct to me (I verified device.map and grub.conf using the rescue CD, I didn't even think of using Knoppix...).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub disappeared and no os found message shujja Linux - Newbie 4 09-05-2005 12:59 AM
GRUB hangs on boot BiPolar Fedora 1 08-12-2005 10:43 AM
Linux hangs on boot - no floppy device found Penseur46 Linux - Newbie 6 02-02-2005 09:50 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
GRUB with Promise ATA RAID dual-boot solution DelMerkin Linux - Newbie 0 06-01-2003 09:10 AM


All times are GMT -5. The time now is 10:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration