LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-12-2009, 03:06 PM   #1
zpr
LQ Newbie
 
Registered: Mar 2009
Posts: 12

Rep: Reputation: 0
New install, filesystem problem


Hi. I'm posting here after I have googled much with little success. I installed gentoo linux (kernel-2.6.27-r8) last night on my Acer Aspire 5672 and everything seemed fine. The only problem I had was when configuring grub, I put hda instead of sda. When I was initially partitioning my drive, fdisk -l showed all my partitions as hda, but later it changed to sda, and grub would only work when I used sda. Note that my fstab was configured under hda as well (perhaps that's why it's not working..). I never really understood why it kept switching between the two, and I would like to.

But my problem is this: When I boot, I get the following error:

Code:
* Checking root filesystem ...
fsck.ext3: No such file or directory while trying to open /dev/hda3
/dev/hda3:
The superblock could not be read or does not describe a correct ext2 filesystem.  If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
* Filesystem couldn't be fixed :(
Give root password for maintenance
(or type Control-D to continue):
I ran a check and it appeared to clean up some errors and told me to reboot, so I did and nothing. My next guess was an incorrect fstab file, so I proceeded to check it, and remembering my problem with grub, decided to try to change all the hda's to sda. However, it wouldn't let me edit it, or even chmod it. I did some more research and apparently some people had the same problem and resolved it by adding a sleep at the top of /etc/init.d/checkfs so I tried, but again it wouldn't let me edit it (read-only filesystem)

Note that in the error it mentions an ext2 filesystem, which I find strange because both my root and boot partitions are ext3.

Any help would be greatly appreciated!

Thanks,
zpr
 
Old 03-12-2009, 04:50 PM   #2
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
ext3 basically *is* ext2 with Journals, so not so strange at all.

Your best bet is to boot up a rescue disc, such as Knoppix, or a live cd, and then make the changes.

Last edited by x_terminat_or_3; 03-12-2009 at 04:51 PM. Reason: Spelling
 
Old 03-13-2009, 01:24 PM   #3
zpr
LQ Newbie
 
Registered: Mar 2009
Posts: 12

Original Poster
Rep: Reputation: 0
That did it, it was the fstab. Thanks a bunch!
 
Old 01-19-2010, 04:27 PM   #4
peterlowrie
Member
 
Registered: May 2009
Location: New Zealand
Distribution: mdv-x86/aurora-sparc64/solaris10-x86/solaris10-sparc
Posts: 44

Rep: Reputation: 15
Solution

All the above is good information except insofar as it is not entirely clear.

For an installation of Linux on a Sparc machine the following works.

Lets assume the installation has gone without a hitch until it comes time to beet for the first time when you get:

Give root password for maintenance
(or type Control-D to continue):

What to do is enter the password and reboot.

Stop a

boot cdrom rescue

When you can get your filesystem to /mnt/sysimage go ahead and edit fstab. All you need to do is change the 1 1 or 1 2 at the end of the line to 0 0 on any lines where you see it.

Reboot and your system will now boot properly.

:-) Peter
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Encrypted filesystem install resetreset Linux - Software 3 06-01-2008 12:32 PM
Questions about the linux filesystem and where to install programs.. MJBoa Linux - Newbie 6 05-29-2008 01:13 PM
Confusing USB Filesystem Problem (Can't Wipe Ext3 Filesystem) dkaplowitz Linux - Hardware 3 04-14-2007 06:30 PM
Which filesystem to choose for new install allelopath Linux - Software 8 01-04-2007 12:47 PM
Can you answer a quick filesystem q while I install? orange400 Linux - General 1 06-09-2005 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration