[lug] Mounting Win partitions / Renaming localhost?
Mr Viggy
LittleViggy at alum.manhattan.edu
Sat Sep 28 16:43:47 MDT 2002
There ya go! See I knew there had to be another way to list the
partitions without actually going into the fdisk program.
Now, if there were a way on Windows... Once, two jobs ago, the IT
department sent me over a new PC; running Win NT. Well, it had one
disk, at 5 GB. Hmm, that's not enough for development work, so I
started removing the disk from another machine. Well, after getting the
disk installed into the new machine, I run the Windows version of
fdisk which allows you to list all the partitions on all the disks, and
lo and behold, IT decided to only FORMAT 5 GB of the 20GB disk in the
machine!!! So, I wasted a day rebuilding a machine that didn't need it!
Viggy
Jeff wrote:
> Mr Viggy wrote:
>
>> One way I know of is to use fdisk. However, you want to be really
>> careful with this, as it can change your partition settings, which
>> would screw up your disk.
>>
>> Do 'fdisk /dev/hda'. Then, at the prompt, hit 'p' and enter. This
>> will print out the partition table for /dev/hdb, including how each
>> partition is formatted. Now, hit 'q' to quit without saving.
>>
>
>
> Another way to get the partitions and how they're formatted without
> actually going into the fdisk program is to just type:
> fdisk -l
> This will list the partitions and their file system type for all your
> hard drives and, if you just want a specific hard drive:
> fdisk -l /dev/hda
> <or>
> fdisk -l /dev/hdb
> etc...
>
> This allows you to view your partition table without actually going into
> the fdisk program and potentially messing up your disk.
>
> -Jeff
>
>
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
>
> .
>
More information about the LUG
mailing list