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 ...
- 01-22-2010 #1Just 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...!
- 01-22-2010 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,096
You can see your partition layout and filesystem types with the fdisk command:
Is that what you mean?Code:fdisk -l
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.
- 01-27-2010 #3Just 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?
- 02-03-2010 #4Just Joined!
- Join Date
- Oct 2009
- Posts
- 17
Bounce.....
- 02-03-2010 #5Linux 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?
- 02-05-2010 #6Just 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


Reply With Quote