How do you create an extended partition in Linux, is this done as in dos/windows. In fdisk, or can you create extended partition in disk druid. Can some one show me how.
Thanks.
in a shell type "fdisk -l /dev/yourdevice"
this will list the partitions.
then do "fdisk /dev/yourdevice" and hit "p" - this will show you the same again.
now say you have a new blank hdd you just create a partition by typing "n" then follow the on screen propmts. then after type "p" again to see what it's done. you can play around how you like - nothing gets changed until you hit "w". if you do anything wrong ctrl-c or "q" will quit the program.
When you typed fdisk -|/dev/yourdevice, what are we speaking of? Hard drive as in scsi or ide. Tell me like what should I have in place of yourdevice, Thanks
it must be : hda1
hd=harddisk device
a=master
b=slave
1=partition no.
so if ur harddisk is primary master with linux in 1st partition
then it is hda1
so if ur harddisk is secondary master with linux in 2nd partition
then it is hdc2
Technical Director
Infovalley Interwebspiders Pvt. Ltd.
Microsoft Certified System Engineer
visit
ok the names are described quite well above so i won't repeat it. i'll just add that when you reference a partition you use the drive name with the number. so /dev/hda1 would be your first partition on your first drive.
when partitioning a drive you want to reference the whole drive and that is represented by /dev/hda - no number on the end.
if you do "fdisk -l" without the device it will show all of your drives and their partition layouts. hopefully you can go from there.
if your playing with your main drive then just be careful!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.