Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

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?
0
areyouready344
Asked:
areyouready344
  • 2
  • 2
1 Solution
 
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
 
nobusCommented:
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
 
nobusCommented:
sorry - overlooked the linux part; not my fancy...
0
 
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

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now