Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, What is the shell command to detect boot disk in linux? Thanks in advance, R...
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    6

    What is the command to detect boot disk in linux?

    Hi,

    What is the shell command to detect boot disk in linux?

    Thanks in advance,
    R

  2. #2
    Linux User cheesecake42's Avatar
    Join Date
    Jan 2007
    Location
    Panama City, FL
    Posts
    364
    fdisk -l will list all partitions. does that help?

  3. #3
    Just Joined!
    Join Date
    Apr 2007
    Posts
    6
    Thanks...But I was looking for a command that would directly list me boot partition.... I am trying to use it in my perl script.

    I have this...but is not good enough...

    fdisk -l | grep \*

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...