LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-11-2007, 09:34 PM   #1
Schalken
LQ Newbie
 
Registered: Mar 2006
Distribution: Debian/Ubuntu
Posts: 26

Rep: Reputation: 15
YAST erases GRUB


I have two hard drives:

(hd0) /dev/sda openSUSE 10.2
(hd1) /dev/hda Windows XP Pro

I have GRUB installed on (hd0) and it correctly boots into both OSs.

When YaST edits bootloader configuration (such as after a kernel update) it erases the bootloader on (hd0) and installs one on (hd1)

I can fix this each time by reinstalling GRUB on (hd0) with a recue disk.

But how can I tell YaST that the bootloader should be on (hd0) and NOT (hd1)?

Edit: Even when (hd1) is unplugged, YaST still erases the bootloader on (hd0), leaving no bootloader at all!

Edit 2: If it is any help, it doesn't add/delete bootloaders when I select "Other > Edit Configuration Files" on the bottom right and edit them directly. It only add/deletes my bootloader when I make edits using the GUI, for eg, set Windows as my default GRUB menu item.

Last edited by Schalken; 07-11-2007 at 11:12 PM.
 
Old 07-12-2007, 07:17 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Yast - System - Bootloader configuration - Edit configuration file. Try to edit 'Replace code in MBR'; set it to 'Leave untouched', or whatever option 10.2 offers that means the same thing.
 
  


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
i broke grub... not saving using yast CopyrightPhilly Linux - Software 1 01-14-2007 04:49 PM
grub configuration using yast does not work fremder Linux - Newbie 10 10-07-2005 05:02 AM
GRUB Error When Loading From Yast linuxdawg SUSE / openSUSE 3 02-07-2005 11:37 PM
[SOLVED] [vi|man|less] covers/erases previous screen output zedmelon Linux - Software 4 01-10-2005 06:11 PM
MBR erases when power is off Zero-0-Effect Linux - General 6 01-24-2004 09:05 PM

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

All times are GMT -5. The time now is 12:10 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