Re: how to determine hd partitioning?
hi ya
assuming your disk is intact
fdisk -l /dev/hdd
and add/guess which partitions belong to which mountpoint
mount /dev/hdd1 /mnt/test
ls -la /mnt/test to guess if its /var or /usr or /home
umount /mnt/test
...
when you're all done ....
fdisk -l /dev/hdd > /etc/safe-place/rc.parition.txt
cat /etc/fstab >> /etc/safe-place/rc.partiton.txt
( a [cr/h]acker might wanna casue you grief w/o doing rm -rf )
c ya
alvin
On Sun, 19 Jan 2003, Matthew Weier O'Phinney wrote:
> I had my *newest* computer's motherboard crap out on me Friday night,
> and I'm trying to grab the data from its hard drive. I've thrown it into
> my older machine, and it's being recognized fine as /dev/hdd -- but I
> can't remember its partitioning scheme, and thus don't know what
> partition(s) to mount and what fs they each use (it had dual-booted
> windows and debian before, hence the need for both partition and
> fs-type).
>
> How can I determine the drive's partition scheme?
>
Reply to: