Find the answer to your Linux question:
Results 1 to 4 of 4
I was doing an exam the other day and they wanted me to create a partition /dev/hdd5 so I saw there was a /dev/hdd so when I created the partition ...
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    2

    Creating Partition with specific ID

    I was doing an exam the other day and they wanted me to create a partition /dev/hdd5 so I saw there was a /dev/hdd so when I created the partition it obviously named it /dev/hdd1. How do I get it to be hdd5?

  2. #2
    Just Joined!
    Join Date
    Jul 2010
    Posts
    19
    Partitions are named in sequential order so hdd5 would be the second logical partition and to create it you would need to create the 3 primary (hdd1, 2, 3) and the extended partition (hdd4)that would contain (hdd5 and any higher numbered partition.
    #Edit#
    You could have a look at ~]# tune2fs -L
    I think it is a comprehension test rather than one of practical abilities good luck
    Last edited by moksha; 10-01-2010 at 12:52 AM.

  3. #3
    Just Joined! jippie's Avatar
    Join Date
    May 2006
    Location
    Eindhoven, the Netherlands
    Posts
    76
    it is not required to create a total of 5 partitions. The bare minimum would be the steps below, but you may ask yourself if it is of really practical in use.
    1. with fdisk create an extended partition,
    2. from that point you'll get the option to create a logical partition, your first logical partition will be hdd5

    You should do some reading yourself:
    Disk partitioning - Wikipedia, the free encyclopedia
    Extended boot record - Wikipedia, the free encyclopedia

  4. #4
    Just Joined!
    Join Date
    Sep 2010
    Posts
    2
    Brilliant thanks Jippie, I did do some reading and discovered this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...