LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-14-2005, 01:21 PM   #1
Rªdical_£D
Member
 
Registered: Oct 2004
Location: New Jersey
Distribution: SuSE 10.0
Posts: 69

Rep: Reputation: 15
GRUB option


Ever since I installed Suse 10.0 RC1, my Windows partition has refused to boot, saying that my hal.dll file is missing or corrupt. I tried everything that I could do on the internet but nothing has helped. I tried to use the recovery console in my Windows install disc but then I got a BSOD after everything was configured. My last option was to reinstall Windows but that meant I would have had to reconfigure GRUB to overwrite the MBR Windows would have wrote.

When I read the GRUB documentation, I found that I could install Windows after installing Linux by creating a bootable CD option in GRUB and installing it from there. I used YaST to configure GRUB to create a CD option but I'm not sure what device I should link it to. I tried the device in my fstab file but that didn't work.

Could someone tell me which device I should link the CD option to so that I could boot off of my Windows CD to gain access to the recovery console or to reinstall Windows?
 
Old 09-14-2005, 06:31 PM   #2
dfowensby
Member
 
Registered: Dec 2003
Location: OceanView Virginia, gem of the Southern Shore
Distribution: OpenSuSE Tumbleweed
Posts: 194
Blog Entries: 1

Rep: Reputation: 30
/dev/fd0 ?
 
Old 09-14-2005, 06:48 PM   #3
Rªdical_£D
Member
 
Registered: Oct 2004
Location: New Jersey
Distribution: SuSE 10.0
Posts: 69

Original Poster
Rep: Reputation: 15
/dev/fd0 is the floppy drive which is already configured in GRUB. I need the CD drive. I've already tried /dev/cdrecorder, /dev/cdrom, and dev/hda and everytime it says, "Error 23: Error while parsing number"
 
Old 09-14-2005, 07:11 PM   #4
Smartcat99S
Member
 
Registered: Jan 2004
Location: NE
Distribution: Arch Linux, SUSE, Gentoo
Posts: 56

Rep: Reputation: 15
I'd use a liveCD to backup the boot sector to a floppy, let windows overwrite it, and restore it from the floppy.
 
Old 09-14-2005, 07:40 PM   #5
Rªdical_£D
Member
 
Registered: Oct 2004
Location: New Jersey
Distribution: SuSE 10.0
Posts: 69

Original Poster
Rep: Reputation: 15
I'll consider that but I want to recover Windows first before reinstalling it. Besides, it sounds a lot simpler adding a bootable CD option and installing through that. I could always create a bootable floppy but the only other computer that I have running is a laptop without a floppy drive but I could always make one when I go home this weekend. Though do they come with a recovery console?
 
Old 09-15-2005, 04:29 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
As far as I know, you can use the existing installation or boot CD's you may already have. Once they detect an installed system, they should give you the option 'Boot from harddrive'. Meaning you don't need to create such a CD.

Even more, you can use the installation CD to restore grub to include both Windows and Linux in the boot menu.

Have a look at these links for background info:
http://portal.suse.com/sdb/en/2002/0..._overview.html
http://portal.suse.com/sdb/en/2003/1...em-Repair.html
 
Old 09-15-2005, 01:00 PM   #7
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Yes making a bootable Grub floppy for Suse is the way if you want to access it after Windows has overwritten it.

It is a very simple command

Log in as root in Suse (not even sure if that is needed but that does no harm)
click terminal
pop a floppy into the drive
type "grub-install /dev/fd0"

That is all.

If you want want Grub in MBR in a future day just type

grub-install /dev/hda

or grub-install /dev/sda if it is a Sata
 
Old 09-15-2005, 05:52 PM   #8
Rªdical_£D
Member
 
Registered: Oct 2004
Location: New Jersey
Distribution: SuSE 10.0
Posts: 69

Original Poster
Rep: Reputation: 15
I'm not sure what to do now since there are to many options and I'm not sure what is causing the problems. When I boot off of my XP install disc, I get a BSOD saying "session3_initialization_failed"

Can someone suggest me something that will preserve Windows so that I do not have to reinstall it since I don't have the time for it?
 
Old 09-15-2005, 07:37 PM   #9
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
The Windows MBR can be restored by booting to a DOS floppy with fdisk.exe inside and type

fdisk /mbr

It does the same job as an installation CD.
 
Old 09-15-2005, 08:06 PM   #10
Rªdical_£D
Member
 
Registered: Oct 2004
Location: New Jersey
Distribution: SuSE 10.0
Posts: 69

Original Poster
Rep: Reputation: 15
And that should allow me to boot into Windows directly, right? And what do I do if I want GRUB on my computer but not in the MBR to prevent this from happening again?

Though Novell should have a warning saying that GRUB or LILO should be installed on the Linux partition instead of the MBR if there is another operating system on the computer.

Last edited by Rªdical_£D; 09-15-2005 at 08:07 PM.
 
Old 09-16-2005, 12:25 AM   #11
stormyk88
Member
 
Registered: Apr 2005
Location: Reno, NV
Distribution: Ubuntu 12.04
Posts: 53

Rep: Reputation: 15
Quote:
Originally posted by saikee
The Windows MBR can be restored by booting to a DOS floppy with fdisk.exe inside and type

fdisk /mbr

It does the same job as an installation CD.
I think this is where I went wrong earlier tonight. I Had set up a partition under windows and tried to install FC4. When I went to reboot, I got a grub prompt, but didn't know what to do. I figured my win partition was gone so I did a full wipe and (come to find out, a system restore only cleans the c drive, not both c and d (partitions, not drives)) Now, I'm ready to try again. I have searched and searched, but found nothing for my model computer. I will post in the newbie forums and post a link here shortly.

Jason
 
Old 09-16-2005, 02:35 AM   #12
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
It is sad that most people panic and do not know how to use a Grub prompt.

I can use the same Grub prompt to boot up any of my 50+ systems using almost identical 3 lines of commands regardless if the system is a DOS, Windows, Linux, *BSD or Solaris.

The 3 lines are

Root (i,j)
chainloader +1
boot

where i=disk No. and j=partition No. bearing in mind GRub counts from 0

The only necessary condition for Grub to boot any of them is the target system must have its boot loader in its own partition, which is always the case for a Window, BSD and Solaris. In Linux it can be replicated any time or chosen during installation
 
Old 09-18-2005, 11:42 AM   #13
Rªdical_£D
Member
 
Registered: Oct 2004
Location: New Jersey
Distribution: SuSE 10.0
Posts: 69

Original Poster
Rep: Reputation: 15
After I restore the MBR, how do I make it so I can use GRUB on my computer without overwriting the MBR?
 
Old 09-18-2005, 12:31 PM   #14
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
I would download BootIt NG and backup your working Windows MBR. After that you can install the bootloader safe in the knowledge if GRUB messes up you have a backup.
 
  


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
CD-rom as an option in the GRUB meny HULLU Linux - General 3 02-02-2006 03:44 PM
How do I add a Shell option to grub DiSGuiZ Linux - Newbie 4 04-15-2005 03:28 PM
grub+adding windows option gonus Debian 3 08-01-2004 03:43 PM
dual rh 9 no grub option BobNz Linux - Newbie 6 05-02-2004 11:56 PM
how to add floppy option in grub? JIV Linux - Software 3 05-03-2003 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:14 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
Open Source Consulting | Domain Registration