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

From linux command-line, how can I tell which storage device file (scsi) is the boot device?
areyouready344Asked:
Who is Participating?
 
dolomitiCommented:
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
 
dolomitiCommented:
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
 
nobusbiljart fanCommented:
you can check which files exist. depending on the OS, you find different files
0
 
areyouready344Author Commented:
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
 
nobusbiljart fanCommented:
sorry - overlooked the linux part; not my fancy...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.