Operating Systems > Linux and UNIX

installing win with linux

<< < (2/3) > >>

Master of Reality:
fucking fdisk sucks. I have 2 linux partitions (1 is a swap) on hda1 and 1.2 GB of free space, fdisk shows that all the space is being used by a non-windows partition. So i need to do partitioning in linux, is there a partitioner that comes with linux?(doesnt diskdruid come with red hat7.2?)

voidmain:

quote:Originally posted by Master of Reality:
fucking fdisk sucks. I have 2 linux partitions (1 is a swap) on hda1 and 1.2 GB of free space, fdisk shows that all the space is being used by a non-windows partition. So i need to do partitioning in linux, is there a partitioner that comes with linux?(doesnt diskdruid come with red hat7.2?)
--- End quote ---


Uh, yeah. "fdisk".  I think you used the brain dead M$ FDISK and not the far superior Linux fdisk by the sounds of it.

Master of Reality:

quote:Originally posted by VoidMain:


Uh, yeah. "fdisk".  I think you used the brain dead M$ FDISK and not the far superior Linux fdisk by the sounds of it.
--- End quote ---

X11 told me to. http://forum.fuckmicrosoft.com/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=5&t=000232

voidmain:
If you are in Linux and have one IDE hard drive that has some free (unpartitioned) space available and you want to create a vfat filesystem on it you would use fdisk to create the partition and "mkfs" to create the filesystem. "fdisk" would be similiar to FDISK in DOS and "mkfs" would be similar to "format C:".

So as root type "fdisk /dev/hda". You can type "m" for help and to see the existing partition table you would type "p".  You should see the cylinder range used by each partition. Say you have a total of 2400 cylinders and you have 400 cylinders unused at the end of your disk and want to create a vfat partition, you would do a "n" for new partition. Set the partition number, set the first cylinder to the first unused cylinder and the last cylinder to the last unused cylinder. You can do another "p" to see if your partition table looks right and then do a "w" to save it and exit.

Then type "mkfs -t vfat /dev/hda5" (assuming your new partition is "/dev/hda5". Then add it to your /dev/fstab and mount it.

Master of Reality:
i accidenatlly made a linux filestystem (because i'm stupid) and now when i type "fdisk -u hda" it says "cannot open device", it says that for any harddrive i put down.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version