Solved

how can I tell which storage device file (scsi) is the boot device?

Posted on 2009-04-03
5
292 Views
Last Modified: 2013-11-14
From linux command-line, how can I tell which storage device file (scsi) is the boot device?
0
Comment
Question by:areyouready344
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 7

Expert Comment

by:dolomiti
ID: 24062657
hi,
the decision to take which is the boot device, has to be taken by the machine:
How can the OS decide which partition to start if is has not been started ?
At bios level, if you can, before try in temporary mode (F12 or other),
decide which is the boot device. If it goes, modify in bios the boot order.

More difficult may be if you have more than one bootable partition in a disk,
or if you have a RAID adapter that manags more than one logical drive.

bye
vic
0
 
LVL 92

Expert Comment

by:nobus
ID: 24066497
you can check which files exist. depending on the OS, you find different files
0
 

Author Comment

by:areyouready344
ID: 24277784
To be more clear, lets say I have 3 storage devices seen by linux as /dev/sda /dev/sdb/ /dev/sdc, which one of these devices linux booted from?
0
 
LVL 92

Expert Comment

by:nobus
ID: 24277932
sorry - overlooked the linux part; not my fancy...
0
 
LVL 7

Accepted Solution

by:
dolomiti earned 500 total points
ID: 24285402
hi,
which Linux is yours ? ,
and do you know which is your boot loader ?

(LILO, GRUB, ..., you can see just when BIOS has finished to start
and 1 moment before Linux boots; probably you can also read (very fast)
which device OS has booted from )

bye
vic
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question