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 02-28-2006, 04:40 PM   #1
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 17.3
Posts: 192

Rep: Reputation: 31
Change former Linux master harddisk to slave


Hi !

My friend had one harddisk installed whith Linux Ubuntu.

Now he has put in another harddisk whith Windows 2000 as master. The former Linux harddisk he wants to install as a second slave disk in the system.

The question is, how to access the Linux slave disk in order to create a bootloader on the Windows 2000 master harddisk, which gives the option to choose between Windows and Linux at bootup.

I assume one option is to create a Linux start floppy disk. How can this be done?

Once we have succeded to enter Linux, how do we create the bootloader on the Windows master harddisk?

Of course, we could format the slave disk and install Ububntu again, but we have maid a lot of configuration and installationss in Ubuntu and we don't want to make it from the beginning again.

Is someone willing to give us some guidance?
 
Old 02-28-2006, 04:45 PM   #2
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
The Gentoo way would be to start the computer off a Gentoo or Knoppix boot CD. Then you can "chroot" into your Ubuntu installation and reinstall GURB or LILO (whatever ubuntu uses) from the command line. You could check out the Gentoo handbook for more info, or google around for "chroot grub" and "chroot lilo" or somesuch...
 
Old 02-28-2006, 05:08 PM   #3
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 17.3
Posts: 192

Original Poster
Rep: Reputation: 31
Thanks visaris !

Quote:
Originally Posted by visaris
The Gentoo way would be to start the computer off a Gentoo or Knoppix boot CD.
I have a Knoppix cd which enables me to run Knoppix directly from the cd-drive. Do I understand you right? Can I, from this cd-drive Knoppix, give commands in the terminal that boot up the Ubuntu installation on the slave harddisk?


Quote:
Originally Posted by visaris
Then you can "chroot" into your Ubuntu installation and reinstall GURB or LILO (whatever ubuntu uses) from the command line.
Then I have to look into how to use the "chroot" command.
 
Old 02-28-2006, 05:26 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,848

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Whilst the above can be made to work, the simplest way to do this is to make the Linux disk the boot disk in the BIOS.
At this point, Win2k becomes unbootable.
Update (at the bottom, after the comments) the Ubuntu grub.conf with something like
Code:
title Win2k
root(hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
This presumes Win2k is on the first partition. If there is a vendor recovery partition, try "root (hd1,1)".
 
Old 02-28-2006, 05:42 PM   #5
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 17.3
Posts: 192

Original Poster
Rep: Reputation: 31
Thanks syg00 !

I understand your advice. It seems a convenient way to solve the problem. To boot the system from the Linux slave disk. Then a simple add to the grub.conf. to point to Windows 2000.

Maybe we will try this. I will post back the result. But it can take some days before we try.

 
  


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
Harddisk...primary, secondary, master, slave? OmniXBro Linux - Newbie 8 03-08-2005 10:45 PM
How do I change the my hd (with linux) from slave to master and have grub boot? r3dhatter Linux - Newbie 6 02-21-2005 02:06 AM
slave not authenticating when master is down spyghost Solaris / OpenSolaris 3 10-04-2004 12:12 PM
Slave to Master? s9722 Linux - General 6 02-23-2004 11:34 PM
Do 2 harddrives have to be Master/Slave? RAL Linux - Newbie 22 08-10-2003 07:32 PM


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