-
Senior Member
registered user
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.
-
Senior Member
registered user
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
-
Forum Rules
![for Laptops 500GB-4TB Internal Solid State Drive Hard Disk 2.5 Inch SSD Drive picture](/store/img/g/BygAAOSwq9BmZ0tw/s-l225/for-Laptops-500GB-4TB-Internal-Solid-State-Drive-H.jpg)
for Laptops 500GB-4TB Internal Solid State Drive Hard Disk 2.5 Inch SSD Drive
$75.18
![Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture](/store/img/g/pJUAAOSwFaRkhuj-/s-l225/Netac-1TB-2TB-512GB-Internal-SSD-2-5-SATA-III-6Gb-.jpg)
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$119.99
![Samsung 860EVO 500GB 2.5](/store/img/g/Cb0AAOSwosNmThBO/s-l225/Samsung-860EVO-500GB-2-5-Laptop-SATA-Solid-State-D.jpg)
Samsung 860EVO 500GB 2.5" Laptop SATA Solid State Drive V-NAND SSD Tested, Wiped
$34.99
![Fanxiang SSD 4TB 2TB 1TB 512GB SATA SSD 2.5'' III Internal Solid State Drive lot picture](/store/img/g/pB0AAOSwrbRkIWhk/s-l225/Fanxiang-SSD-4TB-2TB-1TB-512GB-SATA-SSD-2-5-III-In.jpg)
Fanxiang SSD 4TB 2TB 1TB 512GB SATA SSD 2.5'' III Internal Solid State Drive lot
$108.29
![Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5](/store/img/g/RzIAAOSwSZNlN-zB/s-l225/Patriot-P210-128GB-256GB-512GB-1TB-2TB-2-5-SATA-3-.jpg)
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
![SAMSUNG 256GB 2.5](/store/img/g/Br4AAOSw8Ktmebmu/s-l225/SAMSUNG-256GB-2-5-SATA-SSD-MZ-7LN256D-Grade-A-SKU-.jpg)
SAMSUNG 256GB 2.5" SATA SSD MZ-7LN256D, Grade A, SKU 10394
$14.99
![Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture](/store/img/g/pB0AAOSwrbRkIWhk/s-l225/Fanxiang-4TB-2TB-1TB-SSD-550MB-s-2-5-SATA-III-Inte.jpg)
Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot
$13.99
![Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture](/store/img/g/vt0AAOSwAgVls0tY/s-l225/Fanxiang-M-2-SATA-SSD-2TB-1TB-512GB-256GB-SSD-Inte.jpg)
Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot
$21.99
![4tb Ssd 870evo Internal Solid State Drive Hard Disk 2.5 Inch Sata SSD For Laptop picture](/store/img/g/eD8AAOSwXbhmYg9y/s-l225/4tb-Ssd-870evo-Internal-Solid-State-Drive-Hard-Dis.jpg)
4tb Ssd 870evo Internal Solid State Drive Hard Disk 2.5 Inch Sata SSD For Laptop
$47.79
![Netac 2TB 1TB 512GB 240GB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot picture](/store/img/g/cwcAAOSwaqtme-ms/s-l225/Netac-2TB-1TB-512GB-240GB-Internal-SSD-2-5-SATAIII.jpg)
Netac 2TB 1TB 512GB 240GB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$118.99