Find the answer to your Linux question:
Results 1 to 6 of 6
I have a RHEL 5 installed. I boot using a Linux preboot CD and take my machine into preboot. Now, in preboot, how should I detect that on which drive ...
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    17

    How to detect Linux installed drive in preboot

    I have a RHEL 5 installed. I boot using a Linux preboot CD and take my machine into preboot. Now, in preboot, how should I detect that on which drive ( e.g. sda1/2or hda1/2 etc ) my RHEL5 resides?

    Thanks and regards...!

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,096
    You can see your partition layout and filesystem types with the fdisk command:
    Code:
    fdisk -l
    Is that what you mean?
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Just Joined!
    Join Date
    Oct 2009
    Posts
    17
    Hi Ozar,
    No. That will just list out the drives on the system. How would I come to know that which of these drives e.g. sda5 contains the OS?

  4. #4
    Just Joined!
    Join Date
    Oct 2009
    Posts
    17
    Bounce.....

  5. #5
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,939
    I'm not sure if this is what your are looking for but, try "cat /etc/fstab" which will show mounted partitions. EXAMPLE: UUID=590697a3-98de-4238-a2b1-032903bfa667 / ext3 relatime 1 1
    This shows the partition UUID followed by the root symbol (/) which would be your operating systems files. Is that what you are looking for?

  6. #6
    Just Joined!
    Join Date
    Oct 2009
    Posts
    17
    yancek,
    I fired the cat /etc/fstab command in preboot environment but it just shows following line on the console

    proc /proc proc defaults 0 0

Posting Permissions

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