- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: making Linux HD Primary Master FROM Secondary ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2007 05:24 PM
тАО10-14-2007 05:24 PM
making Linux HD Primary Master FROM Secondary Master
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2007 07:03 PM
тАО10-14-2007 07:03 PM
Re: making Linux HD Primary Master FROM Secondary Master
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2007 07:33 PM
тАО10-14-2007 07:33 PM
Re: making Linux HD Primary Master FROM Secondary Master
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2007 10:46 PM
тАО10-14-2007 10:46 PM
Re: making Linux HD Primary Master FROM Secondary Master
while my linux is read as hdc*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2007 11:02 PM
тАО10-14-2007 11:02 PM
Re: making Linux HD Primary Master FROM Secondary Master
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 02:02 AM
тАО10-15-2007 02:02 AM
Re: making Linux HD Primary Master FROM Secondary Master
/dev/hda = Primary Master
/dev/hdb = Primary Slave
/dev/hdc = Secondary Master
/dev/hdd = Secondary Slave
etc.
So, when you physically swap the disks around, your old /dev/hda will become /dev/hdc and vice versa.
As others have indicated, you'll have to re-configure your LILO bootloader.
Activating the correct partition may or may not be necessary: if LILO is installed in the Master Boot Record of the new disk, it can run things from any partition regardless of whether the partition is active or not. But if LILO is installed to the boot record of the individual Linux partition, that partition needs to be marked active so that the MBR will find and activate LILO.
You'll also have to check your /etc/fstab file in Linux. If your partitions have been identified using /dev/hd* style names, you must change them to match the new situation. If your /etc/fstab is using "LABEL=..." or "UUID=..." style definitions for Linux partitions, the system should be able to find the correct Linux partitions with no changes required.
Note that your WinXP may become very confused if you change the disks around.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 10:15 AM
тАО10-15-2007 10:15 AM
Re: making Linux HD Primary Master FROM Secondary Master
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 12:56 PM
тАО10-15-2007 12:56 PM
Re: making Linux HD Primary Master FROM Secondary Master
the concern happened when i changed the battery of my motherboard.
Now i just want to completely format my winxp HD.. and since you guys said that primary master is read as /hda* then is there a clear possibility that I will be successful in my attempt? (since after reinstalling winxp,) linux will still read my windows hd..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 08:19 PM
тАО10-15-2007 08:19 PM
Re: making Linux HD Primary Master FROM Secondary Master
It would be easier to analyze the situation if you could show us all of the following:
- the output of "fdisk -l /dev/hda" in Linux
- the output of "fdisk -l /dev/hdc" in Linux
- the contents of your /etc/lilo.conf file
- the contents of your Windows C:\BOOT.INI file (it may be hidden, so it might be easiest to find it using Linux)
In an IDE system, the BIOS normally boots the system from the first disk it finds. Some BIOSes have an option to change this.
In some older machines the boot order was specified using DOS-style C: and D: drive letters, so the actual meaning was quite obscure. "Boot from C:" meant "boot from the first detected hard disk", just as usual. But "Boot from D:" meant "find the first two bootable disks, swap them around so that the second bootable disk is presented to the OS (or bootloader like LILO) as the first one, then boot from it." With DOS, this actually causes the C: and D: drive letters to switch places.
Using the BIOS "Boot from D:" option with modern operating systems just causes lots of confusion since the BIOS can fool the bootloader but not the actual OS.
You say your WinXP boot started to fail after the failure of the motherboard battery. This suggests your BIOS's boot disk selection option might have had been set to a non-default value originally. The battery failure probably caused a reset to default values.
What I cannot understand as yet is how your LILO bootloader still works after the battery failure...
By "binary numbers" do you mean a repeated string like "01 01 01..."? This is actually a LILO error message, and it means BIOS is not liking the commands LILO is trying to use.
This suggests your LILO may be installed on the Primary Master disk BUT gets its configuration and other data from the Secondary Master disk. If so, wiping either of the two disks is likely to make the system unbootable unless some preparations are made in advance.
We'll need all the information I asked above to plan a way to straighten this.
You might want to download and burn yourself a Knoppix Live CD: it's a Linux installation that is completely self-contained on a CD-ROM, using RAM disk as a work area. It has a lot of tools available, so it allows you to do some serious system surgery if necessary.
See:
http://www.knoppix.org
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 05:56 AM
тАО10-16-2007 05:56 AM
Re: making Linux HD Primary Master FROM Secondary Master
Remember that both Grub and the BIOS can only report what they see, and not physically change it.
If you swap the jumpers/cables, you now need to edit Grub and the Windows boot loader to point to the new locations.