Results 1 to 2 of 2

Thread: Partiition goofup

  1. #1
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    N42.41 W73 and change
    Posts
    401

    Partiition goofup

    While trying to resize the FAT32 partition on my dual booting ,machine, I think I changed the start of the partition from something grater than zero to zero and now it can't be mounted or booted.

    I'm tempted to bring on norton or something like that, or maybe fdisk /mbr on the rescue floppy but I thought I'd give the experts here a workout first

    Code:
     fsck /dev/hdb1
    fsck 1.35 (28-Feb-2004)
    WARNING: bad format on line 21 of /etc/fstab
    dosfsck 2.10, 22 Sep 2003, FAT32, LFN
    Logical sector size is zero.
    root@toybox:~# fdisk -l /dev/hdb
    
    Disk /dev/hdb: 255 heads, 63 sectors, 14593 cylinders
    Units = cylinders of 16065 * 512 bytes
    
       Device Boot    Start       End    Blocks   Id  System
    /dev/hdb1   *         1      1973  15848091    c  Win95 FAT32 (LBA)
    /dev/hdb2          4013      4394   3068415   83  Linux
    /dev/hdb3          2612      4012  11253532+  83  Linux
    
    Partition table entries are not in disk order
    Linux still works fine, from lilo.

    I'll be trying out gpart. In the meantime thanks for any advice.

  2. #2
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    N42.41 W73 and change
    Posts
    401
    Here's some output from parted:
    Code:
    (parted) select /dev/hdb
    Using /dev/hdb
    Information: The operating system thinks the geometry on /dev/hdb is
    14593/255/63.  Therefore, cylinder 1024 ends at 8032.499M.
    (parted) print
    Disk geometry for /dev/hdb: 0.000-114473.460 megabytes
    Disk label type: msdos
    Minor    Start       End     Type      Filesystem  Flags
    1          0.031  15476.682  primary               boot, lba
    3      20481.306  31471.083  primary   ext3
    2      31471.084  34467.583  primary   ext3
    (parted)
    Curious why fdisk and parted seem to see things differently. gpart scans, thinks it's finding a ext2 partition then stops reporting a seek error. Hmmmmm

Posting Permissions

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


INTEL CORE I7-14700 4.20GHZ PROCESSOR | SRN40 picture

INTEL CORE I7-14700 4.20GHZ PROCESSOR | SRN40

$299.99



Intel Core i5-8500 Six Core Desktop PC CPU Processor 3.00GHz LGA1151 SR3XE picture

Intel Core i5-8500 Six Core Desktop PC CPU Processor 3.00GHz LGA1151 SR3XE

$43.99



Intel Core i5-9500T 2.20Ghz SRF4D 6-Core LGA1151 Socket CPU Processor picture

Intel Core i5-9500T 2.20Ghz SRF4D 6-Core LGA1151 Socket CPU Processor

$49.99



Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture

Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...

$444.99



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$619.99



Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc... picture

Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc...

$339.99



Intel Core i7-4790K SR219 4.00GHZ 4Th Gen Used Desktop Processor CPU FCLGA1150 picture

Intel Core i7-4790K SR219 4.00GHZ 4Th Gen Used Desktop Processor CPU FCLGA1150

$64.99



Intel Core i5-13600K Unlocked Desktop Processor - 14 Cores (6E+8P) & 20 Threads picture

Intel Core i5-13600K Unlocked Desktop Processor - 14 Cores (6E+8P) & 20 Threads

$212.00



Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU Proc... picture

Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU Proc...

$269.99



Intel MIXED LOT 17 CPUs:Core i5-3470 Corei7-4790 + CPU Processor picture

Intel MIXED LOT 17 CPUs:Core i5-3470 Corei7-4790 + CPU Processor

$178.00