Solved

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

Posted on 2009-04-03
5
276 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
  • 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
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 Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

830 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