LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-27-2004, 12:37 PM   #1
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Rep: Reputation: 30
change boot partition


Hi, i would like to install Debian instead of RH.
I have swap on hda2, RH on hda3 and Slack on hda3.
I have Grub on hda3 and i would like to install there Debian.
I don't know if the installation will go in the right way, so i would like to start Grub or LILO in Slack partition, is it possible?
 
Old 01-27-2004, 05:12 PM   #2
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
Things should go absolutely seamless if your bootloader is in the MBR of /dev/hda

To make it this way, make sure you have in lilo.conf

boot=/dev/hda

and not hda3 or something. If you have hda3, change it to hda and run lilo.

Then once you get debian installed you'll have to edit lilo.conf to include the debian image.

I don't know about grub syntax, but it should be a similar concept.

--Rounan
 
Old 01-27-2004, 08:58 PM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
When you install Debian, just overwrite the whole of your RedHat partition. When it comes to installing the bootloader, you have two choices, really. Install the bootloader to the MBR of /dev/hda and edit it later so you can boot your other OSs aswell. OR install the bootloader to the bootsector of your new Debian partition and then use another bootloader to choose OSs. Using the second method you get effectively 2 bootloaders - one to select the OS and then another one (that you have edited) to select different modes for Debian.

For example, if you wanted Debian to have an option to boot to a graphical login or to a text login, you could edit your /dev/hda3 bootloader to reflect this but leave your main bootloader alone. That way your changes would not affect your other OSs in any way shape or form.

Although I would personally just install the bootloader to the MBR of your harddrive.
 
Old 01-28-2004, 09:53 AM   #4
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
I don't know what MBR mean.
I have Win XP on hda1.
I know this probably is a meanless operation but i am a linux newbie and i don't know if everything will work after i will install Debian. Everybody says it is not so simple.
Anyway i will try to follow your suggestions.
 
Old 01-28-2004, 10:59 AM   #5
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
MBR = master boot record
Every drive has one, and linux partitions can have boot blocks as well.
As long as your bootloader is installed in the MBR of hard drive a (represented by /dev/hda), changing what's on the partitions might break the bootloader's links and make it unable to boot your new debian system right away, but all you have to do is remove the RH boot information from your config file, and replace it with Debian. You won't leave your system unbootable by installing debian, if your loader is on the MBR.

Read man lilo.conf, or equivalent for grub. It'll all become clear.

--Rounan
 
Old 01-28-2004, 11:15 AM   #6
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
Ok thank you Rounan.
I will take it easy. I hope you will help me with Debian.
I decided to install it because it is the only one completely open-source and this is the only reason i have to learn to use Linux.
But i am a newbie and it sometimes is very hard.
By the way. Thanks and see you.
 
  


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
Need boot floppy to change active partition Jldindc Linux - Newbie 1 12-13-2004 04:42 PM
how to change mount options for boot partition? jimveta Linux - General 2 10-08-2003 03:53 AM
unable to dual boot after change partition guanyu Linux - Newbie 2 08-26-2003 10:43 PM
Change partition list, cant boot, emergency hydro Linux - General 3 07-25-2003 04:28 PM
How do I change the active boot partition Tayste_2000 Linux - Newbie 4 07-06-2002 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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