Find the answer to your Linux question:
Results 1 to 5 of 5
Hi folks, Please help me to understand what is following partition; Code: /dev/hda5 228M 4.1M 212M 2% /media/hda5 At time of installation I created; /boot 255M (p) / 8G (p) ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,808

    Partitioning question


    Hi folks,

    Please help me to understand what is following partition;
    Code:
    /dev/hda5   228M  4.1M  212M   2% /media/hda5
    At time of installation I created;

    /boot 255M (p)
    / 8G (p)
    /home 10G (ext)
    swap 1G (ext)


    Now they are shown as;

    $ sudo fdisk -l
    Code:
    Disk /dev/hda: 40.0 GB, 40027029504 bytes
    255 heads, 63 sectors/track, 4866 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hda1               1        2342    18812083+   5  Extended
    /dev/hda5   *           1          31      248944+  83  Linux
    /dev/hda6              32        1004     7815591   83  Linux
    /dev/hda7            1005        2220     9767488+  83  Linux
    /dev/hda8            2221        2342      979933+  82  Linux swap / Solaris
    $ sudo df -h
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/hda6             7.4G  2.1G  5.0G  30% /
    varrun                471M   92K  471M   1% /var/run
    varlock               471M  4.0K  471M   1% /var/lock
    udev                  471M  100K  471M   1% /dev
    devshm                471M     0  471M   0% /dev/shm
    lrm                   471M   22M  450M   5% /lib/modules/2.6.15-26-amd64-generic/volatile
    /dev/hda7             9.2G  659M  8.1G   8% /home
    /dev/hda5             228M  4.1M  212M   2% /media/hda5
    According to order of their creation;

    /boot should be /dev/hda1
    / should be /dev/hda2
    /home should be /dev/hda5
    swap should be /dev/hda6

    I intentionally left /dev/hda3 (P) for another OS to be installed later from the unallocated space.

    Why /home is on /dev/hda7 instead not /dev/hda5

    Please advise. TIA

    B.R.
    satimis

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    hi satimis !!!

    you left unpartitioned space before '/boot' ... if you check output of 'sudo fdisk -l' again... it shows that hda1 is extended.. its not primary...
    well !! in this extended partition, boot, root and home are logical partitions....

    how you partitioned your drive ???
    i mean ... was it windows bases like partition magic or linux based like GParted...
    windows based partitioners try to keep and reserve primary partition within 1024 cylinder limit, then extended ... after that logicals....
    1 is primary, 2 for extended.... 3 and 4 ( i think a partitioned unformatted/formatted space ) and next your boot at no 5...


    <=== { casper } ===>
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,808
    Hi devils_casper,

    Tks for your advice,

    I ran "Ubuntu-6.06-alternate amd64" expert mode to partition the HD.

    IIRC first I selected "Erase the HD and partition in LVM .... something like that" without result. Finally I was compelled selecting "Manually partitioning the HD" and came to the present situration. I started searching step-by-step partition manual for Ubuntu-6.06 on Internet without result

    One point I forgot to mention. I created /boot partition but wihout using it saving grub/boot on MBR.

    I'm prepared to make another installation wiping out the HD. I'll run ""Erase the HD and partition in LVM .... " again. Any advice? TIA

    B.R.
    satimis

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    hi satimis !!!

    Quote Originally Posted by satimis
    I'm prepared to make another installation wiping out the HD. I'll run ""Erase the HD and partition in LVM .... " again. Any advice? TIA
    is windows in the list ??? well ! if yes then ... best thing is install windows first.... coz it will be troublesome to install it later ....

    well !! here is my scenario.....
    i have 80 GB harddisk....
    i installed windows xp first... during installation, created three partitions...
    first 10 GB NTFS for windows, second 20 GB FAT32 for music n movies and third 15 GB FAT32 for data....rest unpartitioned....
    after that i installed FC5 .... two partitions..... one for boot and one for root... rest unpartitoned...
    then.... SuSe 10.0 and Ubuntu........ same way...
    all distros can share ( read and write ) in FAT32 partitons... so my data and music is available to every distro... during installation.... if anything goes wrong.. nothing gonna happen to data and music...

    using FC5 Grub for multiple boot.... looking for new distros.......

    <=== { casper } ===>
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,808
    Hi devils_casper,

    is windows in the list ???
    No.

    I make use of an ATA100 40G HD on this AMD64 box for testing dual boot as well as partitioning with LVM. I'll install Ubuntu-6.06 first then FC5_64/Gentoo_64. I have no problem in manually partitioning the HD with fdisk or with LVM using command lines. But I expect follow Ubuntu's way using its LVM gui tool. I can't make it on my 1st round. Have your had any idea?

    B.R.
    satimis

Posting Permissions

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