LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-02-2004, 02:25 PM   #1
worldofaaron
LQ Newbie
 
Registered: Jan 2004
Distribution: suse
Posts: 6

Rep: Reputation: 0
Problems w/Grub (WinXP, WinXP & SUSE)


Does anyone know why I can't get Grub to run on my system? I searched, read & tried about 10 different recommendations from reading others' posts. I must need help with my particular setup, because none of the fixes have worked so far.

My setup:

HD1 - 120gb WinXP
HD2 - 200gb WinXP (This is the drive I'm trying to run SUSE off)

Here's a screenshot of my partitions (disk mgt utility):

**edit - since I can't post direct links yet, please just put the 3 w's in front of the addy**

geocities.com/8aaron/DiskMgt.JPG

HD1 came with my Dell, loaded with WinXP.
HD2 is one I added and formatted with 3 partitions: 1. an NTFS partition for Data Storage. 2. an NTFS partition for a 'clean' version of WinXP 3. 'free space' on which to install Linux.

I installed SUSE from their site (4 hrs over ftp). However, Grub did NOT run. As soon as I rebooted the machine, the bios initiates and says simply 'grub' in white text on a black background.

I was able to run SUSE from CD by jumping through some hoops (manual install....etc, etc, etc...then 'run installed version'). From there I tried using YaST to reconfigure the boot utility several ways, none of which worked. I even tried to run Grub off of a floppy, which got me an infinite loop of 'grub' text (same as original problem, but caught in an infinite loop instead of just saying it once).

Finally, I just ran Windows from the rescue installation (CD) and ran fixmbr (another good piece of advice from this forum). So now I'm back to where I started, except I have a seemingly perfect installation of SUSE Linux on my hd that I can't access without using the cd and jumping through hoops.

I'm not partial to my 2nd WinXP install, so I can delete it if necessary. I've been banging my head against this thing for about 16 straight hours and I'm out of idead. Plus I think I'm about to get a bill from Google for all the searching I've put their system through! I've tried installing grub on the MBR, in the /boot location, but at this point my wheels are just spinning in place.

Anyone have any idea how I should set this thing up? Should I use YaST to configure grub? If so, how?

Thanks for your help,
Aaron
 
Old 01-02-2004, 02:34 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Yep. I know exactly what you did wrong. :-D

You put the boot loader on the wrong hard drive. At least that's what it seems like. What you'll need to do, actually. Is totally re-install suse. This time. Make sure you put about a 32mb partition on HD1, and let suse know its for booting. That should allow it to install the boot loader correctly and control the rest of the OS's.
 
Old 01-02-2004, 02:35 PM   #3
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Special Extra. If you need to get back to windows XP in the meantime. Get a bootable floopy for WinXP, rescue disk or whatever. Stick it in. Boot off it. Type. fdisk /mbr And that should erase the boot loader and Windows will then act like the borg and assimiate your system once again.
 
Old 01-02-2004, 02:43 PM   #4
worldofaaron
LQ Newbie
 
Registered: Jan 2004
Distribution: suse
Posts: 6

Original Poster
Rep: Reputation: 0
I'm fairly certain there is an MBR partition on HD1 already (see link). Are you suggesting that that is not enough and that I need a third?

The bummer is, I can't add a partition to drive 1 without reformatting it, right? This is bad...there's about 80 gb of data on that and I don't have partition magic. This actually worked just find with (I thought) the exact same configuration using RH 9 (I have been experimenting with Linux lately...but SUSE is by far my fav so far). Grub installed correctly then and I didn't have to add any partitions to HD1. Any idea what SUSE is doing differently?

Fixmbr did the trick for getting me back to my previous boot config (winxp or winxp).

Thanks,
Aaron
 
Old 01-02-2004, 04:38 PM   #5
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
I'm suggesting you need a "boot" partition. Not an mbr. The mbr is just the first part of the hard drive.
 
Old 01-03-2004, 05:31 AM   #6
natalinasmpf
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 309

Rep: Reputation: 30
Wink

Quote:
The bummer is, I can't add a partition to drive 1 without reformatting it, right?
I know a few free tools that can resize your partitions, move data, etc. as long your windows stuff is all defragged of course.

Stupid Windows and their fragged file system.
 
Old 01-04-2004, 01:36 PM   #7
worldofaaron
LQ Newbie
 
Registered: Jan 2004
Distribution: suse
Posts: 6

Original Poster
Rep: Reputation: 0
You know of FREE tools that create partitions without damaging data in existing ones? That's great news! I already hit up download.com, to no avail. So what are they called and where do I find them?

Thanks!
 
Old 01-04-2004, 02:52 PM   #8
natalinasmpf
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 309

Rep: Reputation: 30
download.com won't provide much, use google. It is possible, I know an R-sounding (Ranaf, or something?) partition manager, as well as my first distro ASP Linux could do that as well.
 
Old 01-04-2004, 09:05 PM   #9
TheSwine
Member
 
Registered: Dec 2003
Location: London
Distribution: Debian
Posts: 34

Rep: Reputation: 15
Check out FIPS, it is a DOS util and should come with nearly every distribution.

For more info:
http://www.redhat.com/docs/manuals/l...boot-fips.html
 
Old 01-06-2004, 07:30 AM   #10
worldofaaron
LQ Newbie
 
Registered: Jan 2004
Distribution: suse
Posts: 6

Original Poster
Rep: Reputation: 0
After reading that your linux distro had a utility, I went into YAST and behold...it already has one I'll clear some space on my HD, defrag it, then run the YAST partition utility and create that boot partition.

Thanks for the help, all!
Aaron
 
Old 01-06-2004, 09:09 AM   #11
natalinasmpf
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 309

Rep: Reputation: 30
Defragging two 160 GB disks is quite a task, which is why I love the ext2/ext3 i-node filesystem (especially ext3 with its near painless and less time consuming journalising feature).

YAST? Hmm, mine came built into the installer. It was useless since it would partition it only during an installation - I was looking for a separate equivalent.

*googles*
 
Old 01-20-2004, 09:59 PM   #12
worldofaaron
LQ Newbie
 
Registered: Jan 2004
Distribution: suse
Posts: 6

Original Poster
Rep: Reputation: 0
Follow-Up

For those of you who might find it useful...here is how the installation story ends:

I used YAST (through the slightly disabled version of SUSE that I had installed on the 2nd HD) to resize the NTFS partition on the first HD. TOTAL FAILURE! Something happened to both windows installations to where I simply could not access them.

I had backed up all my files from HD1 to HD2. So I said 'SCREW IT!' and wiped HD1 clean. Then I set it up much better than I had before: 15gb for Windows, 75gb for Programs and Docs, and the remainder I left unformatted for Linux.

I then re-installed Linux on the first HD using the unformatted space. Voila! SUSE runs like a charm. I never did test out the /boot partition on the first hd because it was hosed anyway, so I didn't need to preserve what I had. But SUSE sure didn't want to live on HD2 the way I had it set up before.

Incidentally, HD2 now shows up screwy after that resize of HD1 (!). From WinXP, when I check the properties, it shows only 75 gb, but in fact I have almost 160 gb of data on it. The data's fine, but something in the partition table is hosed. This is annoying, but I'll fix it later.

Thank you for your replies, and good luck to the newbs out there. Now to see what SUSE can do...

Aaron
 
Old 01-24-2004, 07:26 PM   #13
heathenx
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Rep: Reputation: 0
you know...i know this is all after the fact but i have windows xp and suse 9.0 on my system as well and i had the very same problem that you were having with my grub loader. it simply would not work on my dual-boot system. i switched to lilo and my system has worked like a charm ever since. i lost my grub loader 5 times and reinstalled suse that many times as well before i switched to lilo.

if this ever happens to you again, and you want to switch to lilo (which the way suse 9 has them configured, you'll never know the difference between grub and lilo on boot up) just boot from your first cd, click "Installation", get into the "Repair" options, and boot from the already installed suse 9. log in as root and go into Yast2, click System, choose the Boot Loader Config. from there you can convert your grub settings to lilo and then edit lilo if you wish. when done, go into a terminal and type "lilo". you're done. suse 9 automatically takes care of the rest. just reboot and then you'll be presented with your new boot loader. like i said before...in suse 9 you cannot tell the difference between grub and lilo. if it doesn't work then repeat the process until it works. i had to do it twice before i got it working.

sorry i didn't see your post sooner...but maybe this will help someone else.

by the way, i have almost an identical set up as you. windows on one hard drive and linux on another.
 
  


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
Dual boot WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 05:13 PM
Dual-booting MEPIS and WinXP, I want Grub to default to WinXP jjf Linux - Newbie 8 01-19-2006 04:27 AM
RH7.3 and WINXP: GRUB can't detect WINXP Izza Linux - Newbie 8 09-05-2005 08:31 AM
i got RH8 & WinXP installed and properly working by GRUB. how can i reinstall WINXP? kublador Linux - Newbie 4 06-23-2003 01:00 PM
winxp & grub damngood Linux - Software 1 03-24-2002 12:09 AM


All times are GMT -5. The time now is 02:20 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration