LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-27-2005, 05:37 PM   #1
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Rep: Reputation: 31
Switch boot from one hdd to another


I have a system that has 2 drives. I had Xandros on one and Mandriva on the other. I have stopped using Xandros and want to use the drive it was on for storage. Mandriva's bootloader is on the mbr of that drive. In MCC in the boot section it lists grub on /dev/hda. Can I change it to hdb and have it boot from the drive it's installed on and then set up my other drive for storage? Thanks.
 
Old 06-27-2005, 06:54 PM   #2
edong23
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 350

Rep: Reputation: 30
i am alittle confused... are you wanting to leave the drives where they are phisically and boot into mandrake on the other drive by default adn format the hda? or switch the drives phisically and then install grub onto the used-to-be hdb, which is then hda?

i could respond to both but it would help if you just let me know what it is you would rather do.. either one can be done. just one is harder than the other.
 
Old 06-27-2005, 07:13 PM   #3
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
Yes, the used to be hda which had Xandros on it I want for storage, and hdb, which has Mandriva on it would become hda, I guess. I'm confused myself now. In the boot section it lists grub on hda.
What I did was install Mandriva on hdb when I was using Xandros. I then decided to move Mandriva to hda, the other drive. I had trouble with the install so I left Mandriva on hdb where it was, I never changed the installation. So I assume it is still booting from the other drive.
I pulled the jumper off the drive that Xandros was on, the one I want for storage and Mandriva wouldn't boot. I put the jumper back on and it booted so I assume the mbr is still on the drive that Xandros was on.
 
Old 06-27-2005, 07:52 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Easiest option is to re-install grub to the MBR of hda, and the stage files into the Manriva disk; say / or /boot.
Fix up grub.conf and you're away.
Then you can have the partitions on hda. Saves having to screw around with fstab and such.

There are better solutions, but there's a bit more (cleanup) work involved.
 
Old 06-27-2005, 08:09 PM   #5
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
Thanks for the reply. I think grub IS on the mbr of hda. I'm wanting to put it on hdb. I ran through the "upgrade" install and tried to put it on hdb but it didn't work.
 
Old 06-27-2005, 08:19 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Boot-loaders *have* to be in the MBR of the primary boot disk as assigned in the BIOS.
This is usually hda.

Your install to hdb probably worked, you just can't get to it.
Make what is currently hdb the boot disk in the BIOS and see if it boots. You will have problems as I alluded to above, as that disk will now be hda, and fstab will be wrong.
They can all be worked through - think of it as a learning opportunity
 
Old 06-27-2005, 08:39 PM   #7
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
Thanks.
 
Old 06-28-2005, 02:24 PM   #8
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
I never got that to work so I think I'll try to move Mandriva from the older smaller drive it's on (hdb) to the new larger drive (hda). How is that accomplised? Thanks.
 
  


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
Dual boot XP(internal IDE HDD) Debian(external USB-IDE HDD) using boot.ini PolarDog Linux - Laptop and Netbook 2 07-01-2005 09:50 PM
Moving root from a dual-boot HDD to a new HDD Androoski SUSE / openSUSE 1 05-13-2005 10:34 PM
2 HDD, XP & Suse(for now), boot loader on each HDD? mozetti Linux - Newbie 3 03-15-2005 08:25 AM
Should i switch to Windows? or dual boot? etc.? NewbGhostShells Linux - General 6 12-15-2003 12:14 AM
2PC w/ Switch boot problems dsiguy Linux - General 1 12-30-2002 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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