LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-26-2007, 08:15 AM   #1
nixfriend
LQ Newbie
 
Registered: Mar 2007
Location: Latvia
Posts: 2

Rep: Reputation: 0
grub loader and linux


hi

i have windows xp and opensuse on my pc. windows and linux are on one hdd.
i am using grub loader for dual boot. now i added new hdd and i want to install another linux (slackware for server). how can i do it, to keep windows (with grub loader)?

another problem is that i want to remove suse, keeping grub loader with windows (and slackware, too).

if i just format the suse partitions the grub will be removed, right?

hope you understand me. sorry for bad english

Last edited by nixfriend; 03-26-2007 at 08:18 AM.
 
Old 03-26-2007, 08:33 AM   #2
[KIA]aze
Member
 
Registered: Jun 2006
Distribution: Debian, Ubuntu, Windows XP
Posts: 146

Rep: Reputation: 16
If your menu.lst for GRUB is on the Suse partition and you remove Suse, yes, you won't be able to boot directly anymore.

However, if you install a new Linux, it will automatically find all bootable partitions and add them to its own GRUB.
At least that's how it worked for me when I replaced OpenSUSE with Debian on the same HDD.
That's also how I once got a quadri-boot: just install one distro after the other with its own GRUB... ^^
The only OS that's not so friendly is windows which always needs to be installed first...

I can't say for sure that it's the same if you install it on another HDD since I never had a PC with more than one HDD.
However, I am certain that there's a way of doing it. Google around for MBR, GRUB and multiboot or wait for more experienced users.

Last edited by [KIA]aze; 03-26-2007 at 08:34 AM.
 
Old 03-26-2007, 08:45 AM   #3
nixfriend
LQ Newbie
 
Registered: Mar 2007
Location: Latvia
Posts: 2

Original Poster
Rep: Reputation: 0
ok, thankyou
 
Old 03-26-2007, 09:38 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,783

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
When you install Slackware on the second drive, pay carefull attention during installation. Select to write grub to the MBR and not to the root of the installation partation. You wil still have a /boot folder with a /grub sub-directory in the installation partition. The first stage of Slackware's grub will be written to the MBR, and the grub boot screen will probably change from the SuSE version to the Slackware version.

Slackware should write a grub config file that will include XP, SuSE, and Slackware.

When you delete SuSE from the first drive, you should also edit the Slackware grub config file to delete the entry for SuSE.

Note: in some distros, the file is /boot/grub/menu.lst. On others, it's /boot/grub/grub.conf. The contents of the files are the same; just different names.

Last edited by bigrigdriver; 03-26-2007 at 09:41 AM.
 
  


Reply

Tags
grub, loader, slackware, suse


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
linux grub loader bigjandet Linux - Software 6 07-29-2006 11:23 AM
Can the linux grub loader be edited? sirius57 Suse/Novell 1 05-08-2006 09:19 PM
how to remove grub loader from linux 7.3 puru_09 Linux - General 1 02-27-2003 11:31 PM


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