LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2005, 11:23 PM   #1
jang
Member
 
Registered: Nov 2002
Location: Manila
Distribution: Fedora core 2 Gnome 2.6
Posts: 156

Rep: Reputation: 30
Help regarding partition


a power failure caused my pc to shutdown unexpectedly. I'm running Ubuntu Breezy. Upon reboot, it stops at the part:

mount: Mounting /dev/hda1 on /root failed: Invalid argument
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory
mount: Mounting /dev on /root/dev failed: No such file or directory
Target filesystem doesn't have /sbin/init

BusyBox 1.0 Built-in shell
/bin/sh: can't access tty; job control turned off
#

------------- then dead -----------------------

I tried a few livecds i'm sure that works, but everytime it reaches mounting /etc/fstab it just stays stuck. Any ideas?

My partitioning looks like this :
/hda1 root
swap
/hda3 home

Do you think home is damaged?

Or just the root partition? Is this the reason it won't boot into linux? Why my livecd doesn't work also when it comes to fstab?
 
Old 10-26-2005, 11:45 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
It sounds like your / filesystem may be damaged?

Note that / and /root are not the same thing. The latter is your root user's home directory.

I would first trying running fsck on the partition that you mount to /. (You can do this from your live cd. Just make sure the partition is unmounted before you begin this.)
 
Old 10-26-2005, 11:47 PM   #3
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Rep: Reputation: 56
It could actually be physical damage to your drive, so yeah do what anomie said and run fsck.
 
Old 10-26-2005, 11:49 PM   #4
jang
Member
 
Registered: Nov 2002
Location: Manila
Distribution: Fedora core 2 Gnome 2.6
Posts: 156

Original Poster
Rep: Reputation: 30
I've just accessed my /home partition using livecd. Just like you said, i didn't mount the hdd at first, then mounted the /home partition by hand. It works. I can access everything. NOw for the tricky part. I've been wanting to try opensuse 10, and I already have a copy. Will opensuse allow me to install even if I have a broken / partition? Can I just ask it to format that partition, and leave the /home partition alone? Or do I have to remove my / partition first before opensuse allows me to install?
 
Old 10-27-2005, 12:07 AM   #5
jang
Member
 
Registered: Nov 2002
Location: Manila
Distribution: Fedora core 2 Gnome 2.6
Posts: 156

Original Poster
Rep: Reputation: 30
i don't know how to run fsck
 
Old 10-27-2005, 12:28 AM   #6
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Rep: Reputation: 56
In terminal just give yourself root permissions and type fsck. The drives you run it on have to be unmounted though or else it could cause file system damage.
 
Old 10-27-2005, 12:46 AM   #7
jang
Member
 
Registered: Nov 2002
Location: Manila
Distribution: Fedora core 2 Gnome 2.6
Posts: 156

Original Poster
Rep: Reputation: 30
so you mean boot from a livecd without the hard disk mounted, then run fsck /dev/hda1?
 
Old 10-27-2005, 01:32 AM   #8
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Rep: Reputation: 56
Yep that should work.
 
Old 10-27-2005, 02:29 AM   #9
jang
Member
 
Registered: Nov 2002
Location: Manila
Distribution: Fedora core 2 Gnome 2.6
Posts: 156

Original Poster
Rep: Reputation: 30
ok. Thanks a lot for all your advice.
 
Old 10-27-2005, 04:36 AM   #10
jang
Member
 
Registered: Nov 2002
Location: Manila
Distribution: Fedora core 2 Gnome 2.6
Posts: 156

Original Poster
Rep: Reputation: 30
When trying fsck /dev/hda1, it shows the following:

replaying journal..

Reiserfs journal '/dev/hda1' in blocks [18..8211]: 0 transactions replayed

Then just hangs. Any ideas?
 
Old 10-27-2005, 11:34 AM   #11
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Reiser has its own implementation of fsck.

Try
Code:
reiserfsck --check
If that reports errors, try
Code:
reiserfsck --fix-fixable
 
Old 10-27-2005, 10:31 PM   #12
jang
Member
 
Registered: Nov 2002
Location: Manila
Distribution: Fedora core 2 Gnome 2.6
Posts: 156

Original Poster
Rep: Reputation: 30
You're right. I'm using Reiserfs. But still, it hangs at the same point.

Guess the patition is really broken. Any way to check whether the hard drive may be physically damaged or not? I can still mount the 3rd partition, ext3 and still use it under livecd.
 
Old 10-28-2005, 10:21 AM   #13
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
So reiserfsck --check on that partition hangs?
 
Old 10-28-2005, 09:05 PM   #14
jang
Member
 
Registered: Nov 2002
Location: Manila
Distribution: Fedora core 2 Gnome 2.6
Posts: 156

Original Poster
Rep: Reputation: 30
yes, don't know what to do next
 
Old 10-28-2005, 11:19 PM   #15
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
That sounds really ominous. This is the point where I say: back up your personal data files while you can.

I don't have any further advice short of re-installing Ubuntu. Sorry..
 
  


Reply



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
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee SUSE / openSUSE 20 10-31-2005 07:30 AM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 01:31 AM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:30 PM.

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