LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2011, 07:30 PM   #1
Jericho_42
LQ Newbie
 
Registered: Jan 2011
Posts: 7

Rep: Reputation: 0
New to Ubuntu...and having problems with HD


Ok, this question is in 2 parts and maybe someone will have an answer that works for both. First off I have been using Ubuntu 10.10 for about a month now, due to XP crapping out. Ubuntu is much better. Anyway, on to the problem. One day, I tried to turn my pc on and then this error showed up.

No inut found. Try passing init= bootary.

BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)
Enter 'help' for list of bulit-in commands.

(initramf) [ 3.174960] scsi 6:0:0:0: Direct_Access Generic

Then proceeded by a list of scsi and sd numbers and messages.


Anyway, onto the 2nd question. I reinstalled Ubuntu onto another HD and tried to slave previous HD (which had the issue on it), so I could get the files off of that HD which are needed. And then possibly reinstall again. So I slaved a 160GB HD, with the now reinstalled Ubuntu on a 45GB HD. Went to open it and then got this error message.

Unable to mount 158 GB Filesystem

DBus error org.gtk.Private.RemoteVolumeMonitor.Failed:
An operation is already pending



The 160GB HD is password protected for logging onto Ubuntu. Please any help would be great. Just need to get files off the 160GB HD.


Thank you,

Jericho_42

Last edited by Jericho_42; 01-25-2011 at 07:31 PM.
 
Old 01-25-2011, 08:48 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,379
Blog Entries: 16

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
You could try booting to a Live CD such as Knoppix or Slax and taking a look at the hard drives from there.

That way you could determine whether the questionable HDD is healthy and, if it's not, copy essential data to removable media or to the other HDD.

Last edited by frankbell; 01-25-2011 at 08:53 PM.
 
Old 01-25-2011, 11:18 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
After making it slave did you try "os-prober" or sudo os-prober to see if new grub can boot it.
 
Old 01-25-2011, 11:44 PM   #4
Jericho_42
LQ Newbie
 
Registered: Jan 2011
Posts: 7

Original Poster
Rep: Reputation: 0
I tired running Slax. Once it booted from disk, I tried to open the problematic 160GB HD, and the got this error.

Error-kio_medi_mounthelper

mount:wrong fs type, bad option, bad superblock on /dev/hdb1.

missing codepage or helper program, or other error

In some cases useful info is found in syslog-try dmesg| tail or so


Jericho_42
 
Old 01-26-2011, 12:06 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Have you tried running Ubuntu desktop version and letting it boot up all the way. When it loads it'll show 2 files on desktop "examples" and "install" at that point double click on examples and see if you can view your files or search grub.cfg and get uuid.
 
Old 01-26-2011, 12:47 AM   #6
Jericho_42
LQ Newbie
 
Registered: Jan 2011
Posts: 7

Original Poster
Rep: Reputation: 0
In the examples file, could not open HD.

Get the error:

Unable to mount 158 GB Filesystem

A job is pending on /dev/sda1



How would I stop a pending job? I was thinking if I could stop the pending job, the possibly go into Disk Utility and mount the drive.

Also I tried sudo fsck /dev/sda1

fsck from util-linux-ng 2.17.2
e2fsck 1.41.12
fsck.ext3: Device or resource busy while trying to open /dev/sda1
Filesystem mounted or opened exclusively by another program?



What is grub.cfg and get uuid.




Jericho_42

Last edited by Jericho_42; 01-26-2011 at 12:54 AM.
 
Old 01-26-2011, 01:02 AM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Is this a sata or pata(ide) drive?
If pata did you change the connectors(jumpers) to make it slave?

Last edited by EDDY1; 01-26-2011 at 01:05 AM.
 
Old 01-26-2011, 01:17 AM   #8
Barney Rubble
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by Jericho_42 View Post
I tired running Slax. Once it booted from disk, I tried to open the problematic 160GB HD, and the got this error.

Error-kio_medi_mounthelper

mount:wrong fs type, bad option, bad superblock on /dev/hdb1.

missing codepage or helper program, or other error
In some cases useful info is found in syslog-try dmesg| tail or so


Jericho_42
Looks like your HDD fried on you. FWIW, your password doesn't mean anything when you boot from another HDD or live CD/DVD. I've accessed mine many times that way.
 
Old 01-26-2011, 05:51 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,770
Blog Entries: 27

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Hi,
Welcome to LQ!
Quote:
Originally Posted by Jericho_42 View Post
In the examples file, could not open HD.

Get the error:

Unable to mount 158 GB Filesystem

A job is pending on /dev/sda1

How would I stop a pending job? I was thinking if I could stop the pending job, the possibly go into Disk Utility and mount the drive.

Also I tried sudo fsck /dev/sda1

fsck from util-linux-ng 2.17.2
e2fsck 1.41.12
fsck.ext3: Device or resource busy while trying to open /dev/sda1
Filesystem mounted or opened exclusively by another program?

What is grub.cfg and get uuid.
Jericho_42
Boot with your Slax LiveCD then from the cli as root;
Code:
~#mount                     #check to see if device /dev/sda mount
~#umount /dev/sda#          #umount any partition that are mounted so a fsck can be performed on it, 
                             #so if partition #1 make sure it is not mounted.
~#fsck -y /dev/sda1        #will check & attempt corrections
Please note that a fsck is a front end for fielsystem checkers on your system. You should not perform maintenance on mounted filesystems. You could boot as single to insure that nobody is attempting filesystem access.
Do a 'man fsck' on your system to understand the command.

That is why a LiveCD or InstallCD should be used to perform maintenance on a system, this way the local hdd/partitions should not be mounted. I like to keep a stanza in my bootloader with boot action as 'single' for maintenance purposes.

Just a few links to aid you;

Linux Documentation
ProjectRute Tutorial & Exposition
Linux Command GuideUltimate
Linux Newbie Guide
LinuxSelfHelp
Utimate Linux Newbie Guide
Bash Reference ManualAdvanced
Bash-Scripting Guide
Linux Home Networking
Virtualiation- Top 10




The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 01-26-2011, 05:55 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,770
Blog Entries: 27

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Hi,

Quote:
Originally Posted by Barney Rubble View Post
Looks like your HDD fried on you. FWIW, your password doesn't mean anything when you boot from another HDD or live CD/DVD. I've accessed mine many times that way.
Your reasoning for this is?
How do you diagnose the hdd as fried from the information provided by the OP?

As per the LQ Rules;
Quote:
Do not post if you do not have anything constructive to say in the post.
 
Old 01-26-2011, 09:20 PM   #11
Jericho_42
LQ Newbie
 
Registered: Jan 2011
Posts: 7

Original Poster
Rep: Reputation: 0
To Onebuck-

Thank you very much. Your advise worked. I reused the SLAX bootcd that Frankbell advised me to make. But then since the HD was seen but was unmounted. I did what you said. Basically by using ~fsck -y /dev/hda1 (cause SLAX saw it as hda1 not sda1) and it asked me a some questions and I said yes to them all and it fixed the errors. I took out the SLAX bootcd and thought what the heck maybe it might work. Then the ubuntu screen came up and asked for password and now it works. Everything was still there and my HD was not fried. I did however move important files to my external incase this happens again. But thank you again.


Jericho_42
 
Old 01-26-2011, 10:29 PM   #12
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
use "thread tools" and "mark as solved"
 
Old 01-27-2011, 06:41 AM   #13
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,770
Blog Entries: 27

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Hi,

Quote:
Originally Posted by Jericho_42 View Post
To Onebuck-

Thank you very much. Your advise worked. I reused the SLAX bootcd that Frankbell advised me to make. But then since the HD was seen but was unmounted. I did what you said. Basically by using ~fsck -y /dev/hda1 (cause SLAX saw it as hda1 not sda1) and it asked me a some questions and I said yes to them all and it fixed the errors. I took out the SLAX bootcd and thought what the heck maybe it might work. Then the ubuntu screen came up and asked for password and now it works. Everything was still there and my HD was not fried. I did however move important files to my external incase this happens again. But thank you again.


Jericho_42
Glad to see things good to go!
 
Old 01-16-2012, 12:21 PM   #14
ppliveoflailai
LQ Newbie
 
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
Talking it also works well with my virtual box machine hosted by windows7 64

Hello, guys, it might be too late to say something here. just a comment here,

i use the tip of Onebuck, solved the same problem mentioned here, but appearing on my virtual box unbuntu 32, hosted by a windows7 64.
i checked on the websites for many many different solutions, finally i find the one proposed here works well for me.

namely, i just download a slax iso file and i started the corrupted ubuntu machine from the slax bootcd,
then umount /dev/sda1 and fsck -y /dev/sda1, then it tells me that it find some wrong in the partition and fix all
of them.

then i rebooted the virtual ubuntu without slax, finally, the familiar ubuntu welcome page appears.
i am really lucky, since i have really important stuff inside the virtual ubuntu machine and i did not have
a backup.

thank you guys.
 
  


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
[SOLVED] 2'nd .deb distro added to Ubuntu,problems booting Ubuntu heron7 Linux - Newbie 1 01-16-2011 11:31 AM
Having problems with Dual Booting Ubuntu and Vista, Ubuntu having major issues. Chimmichango Linux - Newbie 2 08-03-2009 02:54 AM
problems installing ubuntu live cd hard drive problems! icturubyz2 Linux - Newbie 2 05-26-2009 12:07 AM
Problems installing the Ubuntu Netbook Remix package over Ubuntu 8.10 unluckystuntman Linux - Newbie 3 12-30-2008 12:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration