Topic: First time user, had some major issues....
Hello,
I used the Gparted Lived CD downloaded 7/7/07 to try and create some space on my /dev/hda8. I have a single 80GB hard drive on slackware 12...this is the new sizes after the issues I'm going to explain but you can see the general layout. I am a first time user of G/parted as I normally use cfdisk on fresh installs.
--------------------------------
root@bairco: /boot# fdisk -lu
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders, total 160086528 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 63 5124734 2562336 82 Linux swap
/dev/hda2 * 5124735 14892254 4883760 83 Linux
/dev/hda3 14892255 24659774 4883760 83 Linux
/dev/hda4 24659775 160087724 67713975 5 Extended
/dev/hda5 24659838 53962334 14651248+ 83 Linux
/dev/hda6 53962398 63729854 4883728+ 83 Linux
/dev/hda7 63729918 83264894 9767488+ 83 Linux
/dev/hda8 83264958 132150689 24442866 83 Linux
/dev/hda9 132150753 146480669 7164958+ 83 Linux
/dev/hda10 146482623 153163709 3340543+ 83 Linux
/dev/hda11 153163773 160087724 3461976 83 Linux
--------------------------------
So I setup Gparted to run ~10 operations. I reduced my swap, slid 2,3 and 4 down (to the left on the GUI), removed some space from hda9 to get what you see above. Please note, I did not delete ANY partitions during this process. It was on operation 8 of 10 when I left and came back to a garbled screen a few hours later with only a hard restart recovery. I don't think I lost power.
Well, the system would not boot...originally, it was L 99 99 99 99. I finally became brave enough to delete hda10 as one utility on Ultimate Boot CD showed this as an overlap (I mount /var and /tmp to hda10 and hda11 respectively so I did not need to keep any data there). Once I did this, i got L I junk junk junk where junk are unreadable characters. I took that as progress...2 of the 4 letters. Also, I put LILO is my MBR.
Next, I put my Slack12 CD in and booted from it. I went through the install without installing any packages (just trying to get LILO and the partitions mapped) and low and behold I'm back BUT...
1) cfdisk won't run at all...here's the output:
FATAL ERROR: Bad primary partition 3: Partition ends after end-of-disk
2) Lots of + in my fdisk output (see above). Please explain (are these a concern)?
3) dmesg concerns (seems to be related to hda11 which is at the end of my hda and mounts to /tmp):
rich@bairco: ~# dmesg | grep -C 1 Buffer
hda: rw=0, want=160087557, limit=160086528
Buffer I/O error on device hda11, logical block 865472
attempt to access beyond end of device
hda: rw=0, want=160087557, limit=160086528
Buffer I/O error on device hda11, logical block 865472
usb 4-2: new low speed USB device using uhci_hcd and address 2
--
hda: rw=0, want=160087557, limit=160086528
Buffer I/O error on device hda11, logical block 865472
usb 4-2: configuration #1 chosen from 1 choice
--
hda: rw=0, want=160087725, limit=160086528
Buffer I/O error on device hda11, logical block 865493
attempt to access beyond end of device
hda: rw=0, want=160087725, limit=160086528
Buffer I/O error on device hda11, logical block 865493
attempt to access beyond end of device
hda: rw=0, want=160087725, limit=160086528
Buffer I/O error on device hda11, logical block 865493
attempt to access beyond end of device
hda: rw=0, want=160087725, limit=160086528
Buffer I/O error on device hda11, logical block 865493
attempt to access beyond end of device
hda: rw=0, want=160087725, limit=160086528
Buffer I/O error on device hda11, logical block 865493
attempt to access beyond end of device
hda: rw=0, want=160087725, limit=160086528
Buffer I/O error on device hda11, logical block 865493
attempt to access beyond end of device
hda: rw=0, want=160087725, limit=160086528
Buffer I/O error on device hda11, logical block 865493
attempt to access beyond end of device
--
printk: 4 messages suppressed.
Buffer I/O error on device hda11, logical block 865472
attempt to access beyond end of device
hda: rw=0, want=160087557, limit=160086528
Buffer I/O error on device hda11, logical block 865472
attempt to access beyond end of device
hda: rw=0, want=160087557, limit=160086528
Buffer I/O error on device hda11, logical block 865472
attempt to access beyond end of device
hda: rw=0, want=160087725, limit=160086528
Buffer I/O error on device hda11, logical block 865493
attempt to access beyond end of device
hda: rw=0, want=160087725, limit=160086528
Buffer I/O error on device hda11, logical block 865493
attempt to access beyond end of device
hda: rw=0, want=160087725, limit=160086528
Buffer I/O error on device hda11, logical block 865493
attempt to access beyond end of device
4) parted yields:
root@bairco: /boot# parted
GNU Parted 1.8.7
Using /dev/hda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Error: Can't have a partition outside the disk!
(parted)
Thus, I'm up and running without data loss...THANK GOODNESS (didn't even need my backups). Now I have a lot of concerns about cleaning up so items 1-4 above act normally and understanding what went wrong. I'm very curious if my disk geometry was misunderstood. My BIOS had Auto all the way until after I recovered to the state I'm at. In other words, it was Auto during the original Gparted run. I now have it set to LBA. I tried LBA prior to all of the heroics above without success.
Please help me understand this as I'm fairly certain it's not a bug but something I did incorrectly!
I refer you to here for additional detail:
http://www.linuxquestions.org/questions … ost2815683
-Rich