booting from which harddrive


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers booting from which harddrive
# 1  
Old 06-25-2007
booting from which harddrive

Hi, both of my /dev/hda and my /dev/hdb contain /boot partition. I'm wondering how to tell which harddrive's /boot is actually being read? Thanks
# 2  
Old 06-25-2007
Shutdown the server. Remove the power from one of the drives. Power back on.

Of course, there are other ways Smilie
# 3  
Old 06-25-2007
Very good question. In theory your BIOS should have a predictable search order or a configured device to boot from.

Alternativly do

"mount"

and see which partition is mounted as "/"

Check the boot partition config files on both drives and check to see which volume is supposed mounted as root and see if it matches the device you got from the above test.

If different then your question has been answered.

If the same then use fdisk and check to see which partitions are marked as bootable.

Confirm you can boot from a Linux standalone CD and mount both boot partitions.

Change the config files in each partition to different bogus partitions and reboot, see which partition linux cannot find when you reboot. Then whichever boot partition you told to use that bogus partition is the one it was trying to use.

Use fdisk to enable/disable the boot flag on the boot partitions to confirm.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Copying the content of a filesystem to different Harddrive

my server runs solaris 10 , one of the partition in my primary harddrive is 99% full , i want to move the contents of it to the second harddrive which has higher capacity. what is the best way to move the contents to 2nd drive ? which command should i use cpio/dd/tar/ufsdump .... please guide me... (1 Reply)
Discussion started by: skamal4u
1 Replies

2. UNIX for Dummies Questions & Answers

Copying the content of a filesystem to different Harddrive

my server runs solaris 10 , one of the partition in my primary harddrive is 99% full , i want to move the contents of it to the second harddrive . what is the best way to move the contents to 2nd drive ? which command should i use cpio/dd/tar/ufsdump .... please guide me with the command and the... (0 Replies)
Discussion started by: skamal4u
0 Replies

3. UNIX for Dummies Questions & Answers

How to copy MBR from old harddrive to new harddrive?

How do I copy the master boot record from one harddrive to another or how to install just the MBR? (7 Replies)
Discussion started by: shorty
7 Replies

4. Solaris

Removable External SCSI Harddrive

Hi guys, I have a solaris 9 operating system on a sun solaris machine and one external removable scsi drive connected to it. When i type the following command this is what is displayed: #format AVAILABLE DISK SELECTIONS: 0. c0t0d0 <DEFAULT cyl 17832 alt 2 hd 255 sec 63>... (6 Replies)
Discussion started by: tlee
6 Replies

5. Solaris

Detecting Harddrive Errors

I am looking for some tips or suggestions in how to do the following. 1) From a Solaris server, I run the command iostat -En and receive output that is similiar to the following which shows your disks along with the cdrom/dvdrom: c0t2d0 Soft Errors: 0 Hard Errors: 0 Transport... (1 Reply)
Discussion started by: sunsysadm2003
1 Replies

6. Solaris

installing second harddrive

This is my first post i am a solaris newbie. I just purchased my first sun system. It is a sunblade 1000. It had a fcal 36gb hdd in it already so i purchased a secondary 36gb fcal harddrive to increase my harddrive space however, how do i get it to detect the second harddrive? I have tried boot -r... (2 Replies)
Discussion started by: crzywut
2 Replies

7. UNIX for Dummies Questions & Answers

Adding an additional harddrive in solaris 9

Hello, I have a system which a new harddrive was installed for additional space. I now need to mount the drive and transfer data from /home to the new drive with a mount point named /home. How do I go about doing this? Thanks in advance. (5 Replies)
Discussion started by: GLJ@USC
5 Replies

8. UNIX for Dummies Questions & Answers

Copying a file to my harddrive

I'm loged on to a unix sever over the internet and i want to copy a file from there to my harddrive. How would i go about this because cp does not seem to work. (1 Reply)
Discussion started by: zoolz
1 Replies

9. Linux

Mount a harddrive in linux.

Hey people i'm very new to linux. I just put a extra 200 gig maxtor HD in my computer. Linux can tell it's there...but it says it cant mount it. How do i mount it manually? thanks, John (2 Replies)
Discussion started by: RKJV
2 Replies

10. Filesystems, Disks and Memory

Supplemental harddrive.

Am planning on adding a secodary SCSI hardrive to the existing 20gb drive., that I have. The old drive has Linux on it. Once, the new drive is added, I am planning on having windows on it. Firstly, could this be done ? Has anyone build a system with a similar configuration ? What is requried,... (1 Reply)
Discussion started by: matvrix
1 Replies
Login or Register to Ask a Question