Solved

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

Posted on 2009-04-03
5
260 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 91

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 91

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this article, I provide some information on storage disks which go into calculations that will help you figure out how much Input/output Operations Per Second (IOPS) your disk subsystem can deliver. To effectively size & tune up applications l…
How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
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…
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…

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now