Results 1 to 10 of 10

Thread: Prepare Partitions

Hybrid View

  1. #1
    Join Date
    May 2009
    Beans
    15

    Prepare Partitions




    Picture tells than words
    I've followed this post http://ubuntugeek.com/forum/index.php?topic=237.0
    but still same issue appears
    Laptop information: Toshiba Satellite L510

    your help is much appreciated

  2. #2
    Join Date
    Mar 2010
    Location
    Woonsocket, RI USA
    Beans
    3,195

    Re: Prepare Partitions

    See my Web page on this problem. I make no promises that the cause is the same, but there's a good chance it'll at least put you on the right track. Post back with more details -- especially the output of "sudo fdisk -lu" -- if you need more help.

  3. #3
    Join Date
    Nov 2008
    Beans
    479
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Prepare Partitions

    Yes, please provide the output of
    Code:
    sudo fdisk -l
    sudo parted -l
    5127d464-4548-4993-a138-f546f2fd2a33

  4. #4
    Join Date
    May 2009
    Beans
    15

    Re: Prepare Partitions

    Code:
    ubuntu@ubuntu:~$ sudo fdisk -l
    
    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x9fd6479e
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          13      102400    7  HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2              13       12749   102302918+   7  HPFS/NTFS
    /dev/sda4           12750       38914   210170362+   5  Extended
    /dev/sda5           12750       17109    35021668+  83  Linux
    /dev/sda6           17110       17375     2136613+  82  Linux swap / Solaris
    /dev/sda7           17376       25496    65231901    7  HPFS/NTFS
    /dev/sda8           25497       38914   107774657    7  HPFS/NTFS
    ubuntu@ubuntu:~$ sudo parted -l
    Error: Can't have a partition outside the disk!                           
    
    Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
    has been opened read-only.
    Error: /dev/sr0: unrecognised disk label                                  
    
    ubuntu@ubuntu:~$

  5. #5
    Join Date
    May 2009
    Beans
    15

    Re: Prepare Partitions

    Quote Originally Posted by srs5694 View Post
    See my Web page on this problem. I make no promises that the cause is the same, but there's a good chance it'll at least put you on the right track. Post back with more details -- especially the output of "sudo fdisk -lu" -- if you need more help.
    Code:
    ubuntu@ubuntu:~$ sudo fdisk -lu
    
    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x9fd6479e
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048      206847      102400    7  HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2          206848   204812684   102302918+   7  HPFS/NTFS
    /dev/sda4       204812685   625153409   210170362+   5  Extended
    /dev/sda5       204812748   274856084    35021668+  83  Linux
    /dev/sda6       274856148   279129374     2136613+  82  Linux swap / Solaris
    /dev/sda7       279129438   409593239    65231901    7  HPFS/NTFS
    /dev/sda8       409604096   625153409   107774657    7  HPFS/NTFS
    ubuntu@ubuntu:~$
    i'll consider your webpage for this problem, but first i would like to give the Text mode installer a try since i already downloaded it

  6. #6
    Join Date
    Nov 2008
    Beans
    479
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Prepare Partitions

    Quote Originally Posted by SDSL View Post
    Code:
    ubuntu@ubuntu:~$ sudo fdisk -lu
    
    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x9fd6479e
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048      206847      102400    7  HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2          206848   204812684   102302918+   7  HPFS/NTFS
    /dev/sda4       204812685   625153409   210170362+   5  Extended
    /dev/sda5       204812748   274856084    35021668+  83  Linux
    /dev/sda6       274856148   279129374     2136613+  82  Linux swap / Solaris
    /dev/sda7       279129438   409593239    65231901    7  HPFS/NTFS
    /dev/sda8       409604096   625153409   107774657    7  HPFS/NTFS
    ubuntu@ubuntu:~$
    As you can see, the last partition exceeds the total number of sectors (and similarly for cylinders in fdisk -l).

    You could try using more basic tools (than parted) to repair this, but I have never done this myself, so I'll just give you a few links to look at
    http://ubuntuforums.org/showthread.php?t=352723
    http://ubuntuforums.org/showthread.php?t=1038943
    5127d464-4548-4993-a138-f546f2fd2a33

  7. #7
    Join Date
    May 2009
    Beans
    15

    Re: Prepare Partitions

    thank you arrange for the hint

    i missed getting the total number of sector
    your links was helpful

    also the webpage of srs5694, describes your links in more details

    will let you know when I've something

  8. #8
    Join Date
    May 2009
    Beans
    15

    Re: Prepare Partitions

    fantastic,
    i used Hrien's boot CD to fix the partition table which exceeds the total harddist sectors
    just used Partitioning GUI application from within the hrien's BootCD then resized the last partition little bit smaller

    and now everything works fine,

    Thank you everyone for your help

  9. #9
    Join Date
    May 2009
    Beans
    15

    Re: Prepare Partitions

    Quote Originally Posted by srs5694 View Post
    See my Web page on this problem. I make no promises that the cause is the same, but there's a good chance it'll at least put you on the right track. Post back with more details -- especially the output of "sudo fdisk -lu" -- if you need more help.
    after i made the calculation into your page i found the size of the extended partition is correct, which is end-start+1
    hence it's still not working even tried the "Text mode" installer

Tags for this Thread

Bookmarks

Posting Permissions

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