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
  •  


HP ProLiant MicroServer Gen8 G8 G2020T 8GB RAM 4x 1TB HDD 4x 3.5

HP ProLiant MicroServer Gen8 G8 G2020T 8GB RAM 4x 1TB HDD 4x 3.5" 712318-421

$269.99



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



Super micro Server picture

Super micro Server

$198.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$273.00



HP ProLiant MicroServer Gen8 | Intel XEON E3-1220L V2 | 8GB RAM | NO HDD | 4 BAY picture

HP ProLiant MicroServer Gen8 | Intel XEON E3-1220L V2 | 8GB RAM | NO HDD | 4 BAY

$249.99



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HPE ProLiant MicroServer Gen10 AMD Opteron X3216 8GB RAM No HDDs picture

HPE ProLiant MicroServer Gen10 AMD Opteron X3216 8GB RAM No HDDs

$325.00



supermicro 1u server chassis 512L-200B w/260w PSU & extra split mobo controller picture

supermicro 1u server chassis 512L-200B w/260w PSU & extra split mobo controller

$80.00



2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL picture

2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL

$299.00



1U 20

1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME

$247.00