LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 11-29-2004, 10:00 PM   #1
Tarkan2467
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
GRUB works, then it doesn't


I want to dual-boot Windows XP and FC3 64-bit using the Windows boot loader. XP is on a 2-drive SATA RAID 0 configuration, Linux is on an IDE HD set as primary master.

The problem with installing GRUB on the MBR is that LInux does not recognize my RAID configuration; it sees two SCSI drives (no idea why) instead of the 2 SATA drives in RAID. I've already ruined one XP installation with GRUB on the MBR so I'd prefer not to do that again.

I currently have GRUB installed on the first block of the /boot partition. If I bring up the boot menu during BIOS startup and select the hard disk that Linux is installed on, it boots just fine. However, if I attempt to create a bootsect.lnx file and use the Windows bootloader, I get the following:

GRUB _ (underscore blinks)

It doesn't respond to anything except CTRL+ALT+DELETE, which reboots the system.

I used the following command to create bootsect.lnx:

dd if=/dev/hda1 of=/bootsect.lnx bs=512 count=1

This creates the file in the root partition; from there I copy it to a floppy disk, then move into the C:\ directory and modify the boot.ini file accordingly.

This is how I have the drive partitioned:

/boot = /dev/hda1
swap = /dev/hda2
/ = /dev/hda3

I've ran a couple other distros of Linux but mostly for experimentation so I don't know enough to tell whether there's something wrong with the installation or whether I goofed somewhere.

Any ideas?

Last edited by Tarkan2467; 11-29-2004 at 10:01 PM.
 
Old 11-29-2004, 11:58 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
have a look at this to see if you missed any steps eg admin role?
http://www.geocities.com/epark/linux...w2k-HOWTO.html

2) my grub howto when you are happy you understood above, I don't have xp so can't help
http://www.linuxquestions.org/questi...hreadid=237511

3) comments on grub installed...I prefer you use my terminal way to check that the images are TRULY embedded?

4) sata is neither IDE or scsi but its more scsi like from a linux kernel point of view

5) ideally a raid should be seen as one drive as raid attempts to copy data in case of hardware failure. It is NOT a backup solution. If you are using raid because of XP once you are happy with linux use that spare drive for data or images like I use for www.partimage.org

happy hunting
 
Old 11-30-2004, 05:02 PM   #3
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
aus9:
Grub works the same for XP and 2000 as it does for earlier versions. I will back that up, if you want to add that to your HOW TO post.
 
Old 12-01-2004, 06:52 AM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
vectordrake

I am just a simple aussie, do you mean

w98 = xp = 2000 for all grub config issues

or do you mean something to do with backing up data?
 
Old 12-01-2004, 10:32 AM   #5
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quote:
Originally posted by aus9
...I am just a simple aussie...
Your tutorial proves you wrong! Yes, the configurations are the same. Windows reacts to the bootloader the same way, regardless of the version. Probably this is because the bootloader is actually on the first track of the partition, thus needing the chainloader (FreeBSD requires a chainload boot too).
 
Old 12-01-2004, 06:28 PM   #6
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
vectordrake

You are now in my tut
 
Old 12-01-2004, 08:07 PM   #7
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Awww, shucks!

There's more: another tidbit you may wanna squeeze in there, which may appy to many folks and they don't know what's going on --> what happens if you're stuck at the GRUB commands when booting into Windows XP? Do you try to reinstall Windows' bootloader in the MBR with recovery console and then chroot into your Linux and replace with GRUB? Not likely, as you'll probably find the Win install cd doesn't want to work. If this is the case, use KohlyKohl's suggestion of making sure that the drive is in LBA mode in the BIOS. I've had this happen recently. I don't know what made the BIOS change, but it was set to "auto" which made it default to CHS instead of LBA, making the drive unreadable by the boot cd. Change it back and you might be good to go.

Tarkan2467, have you found a solution yet?
 
Old 03-29-2006, 01:06 PM   #8
larsolesimonsen
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
that makes two of us, tarkan (

I'm having exactly the same problem as tarkan.

My situation is similar in that I am dual booting between an xp installation on two mirrored raid discs and a 64bit ubuntu installation on a good old IDE disc.

I have seen the problem with the 'GRUB _' (flashing underscore) in quite a few places around the net. I have still to find an explanation as to what is wrong and how to work around the problem. I was happy to see tarkan's post as it describes my situation so accurately.

If anybody has any ideas, I too would be grateful of any hints as I am not exactly a *nix wiz.

Maybe I should add that I copied the boot image off my boot floppy made during the ubuntu installation. Ubuntu boots just fine off the floppy, but stops dead when the same image is loaded from C:\bootsect.lnx (holding the same data). What I should probably do is to install 32 bit ubuntu and see if the problem persists, but by now I have fought this problem for so long that I don't really have the energy for yet another couple of re-installations.

/Lars Ole

Last edited by larsolesimonsen; 03-29-2006 at 01:13 PM.
 
  


Reply



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
bootdisk works but not grub cabo Linux - General 4 03-29-2006 01:22 PM
Debian GRUB gives error 18; Fedora works perfectly; why? jariep Debian 4 01-26-2005 02:30 PM
Grub only half works Gsee Linux - General 32 01-16-2005 06:52 PM
aaaarg! grub doesn't works!!! [ITA]freeware Linux - Software 6 07-22-2004 05:42 AM
Boot disk that works just like my HD Grub boot??? KevinAlaska Fedora 2 06-06-2004 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 08:46 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration