Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm in deep trouble.
A few days ago, I erased two partitions, merging into one; I got ext3 onto this.
Then I used my newly formatted system for a couple of days.
Yesterday I rebooted the system one more time, and my root partition had been mounted read-only. I rebooted again, and it refused to mount the partition.
I tried and boot knoppix to check with fsck, and it claimed that some errors prevented the partition from being mounted: "it could be a zero-length partition".
Say WHAT? Zero-length???
Oh my...
Is there any chance for me to get my data back?
If not, could I install a brand new system on that partition being sure that the other (working) partitions would not suffer from this?
PQ PartitionMagic has detected an error 116 on the partition starting at sector 4755240 on disk 1.
The starting LBA value is 4755240 and the CHS value is 16435502.
The LBA and CHS values must be equal.
PQ PartitionMagic has cerified that the LBA value is correct and can fix the CHS value.
Would you like PQ PartitionMagic to fix this error?
Can you describe step by step what you did when merging the two partitions?
maybe PQ Partition Magic might help to fix it and then install your OS again (try an update even if it's the same version so you won't lose your data) and be sure if you have multiple drives or multiple partition they are mounted at the same places like before.
GOOD LUCK
Hello,
I just installed Red Hat 9 on my laptop and now I am getting the same error message quoted above when I start Partition Magic. Now I am wondering, is this something serious that I should fix it asap, or can it be safely ignored? I have Windows XP also installed and I installed Grub in the MBR; so far everything seems to be working fine, both at boot time, for WinXP and for Linux. The boot partition for Linux was installed past the 1024 cylynder limit (I guess cause WinXP occupies the first 20 GB out of a total of 30 GB hard disk); maybe Grub did something to LBA/CHS so that it could overcome this limit?
A final question: are these LBA / CHS values used only during boot? And where are they stored, in the MBR, boot partition, ...?
Can you tell me
-how you have create your partitions
-what are your partition types
and when you have the 1st error msg
so I can help you with your problems
the 1024 sector limit was for dos/win31/win95/win98 and maybe winNT or 2000.
the LBA / CHS / LARGE values fr the harddisk are in the bios, so it's before your OS boots, try to look in the bios if you can put the choice in "auto" mode, or in LBA. I think it's stored in the bios or the MBR
Hi,
I created 2 extra partitions: Linux ext2 and Linux swap; previously there were 2 partitions, one of type "SaveToDisk" which I don't know what it is for, and the other of type NTFS containing Windows XP; in order to install Red Hat I had to create a FAT32 partition were I copied the installation images because they were unreadable from the CD-ROM.
Then I installed RedHAt which created an additional boot partition. In summary here is the situation now (only 1 Disk), as reported by Partition Magic (I rounded the actual sizes):
Type Size Status Pri/Log
SaveToDisk 23.5 MB None Primary
NTFS 18 GB Active Primary
Extended 10 GB None Primary
FAT32 2 GB None Logical
Linux Ext2 100 MB None Logical
Linux Ext2 7.5 GB None Logical
Linux Swap 1 GB None Logical
Anyway, I read today somewhere from some other forum that if the system works there should be noything wrong and it's only partition magic which is complaining unnecessarily, and even dangerously because disaster starts when the user accept the "fix" that Partition Magic proposes. Therefore I am assuming now that this is the case and I will ignore this error, and hopefully I won't forget and press the "bomb-button" in the future!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.