LinuxQuestions.org
Register a domain and help support LQ
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 05-17-2011, 10:32 PM   #1
djkilgus
LQ Newbie
 
Registered: May 2011
Posts: 3

Rep: Reputation: Disabled
Cannot access HD from Ubuntu Live CD


I appreciate the help on this in advance.

Our family laptop (read lots of important pictures) is blue screening on boot. It gets part way through the windows boot (why I think it's still alive) and throws an error about unable to mount boot partition or something like that.

I booted into Ubuntu live and cannot see the hard drive when I look in Nautilus. I do see the hard drive when I look in the disk utility. When I do sudo fdisk -l in terminal nothing comes up it just goes back to ubuntu@ubuntu:~$.

I feel like my hard drive is still alive, I just can't get to it via Ubuntu live. Any suggestions?
 
Old 05-17-2011, 11:56 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Hello,

Can you post the output of the following command?
Code:
ls -al /dev/sd* /dev/hd*
I am asking this because most likely, you can try to force mount the drive and backup as needed from there. I just want to make sure that it is being detected enough to the point that you are able to mount it.

Cheers,

Josh
 
Old 05-18-2011, 04:19 AM   #3
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
please do this in a terminal:
#become root user:
su -
#list available disks:
fdisk -l

if it sees your windows partition, then you could mount it (and do that "read only" please).

Otherwise, what I've done several times, is extract the disk, put it in a USB enclosure, then plug that into a working Windows or Linux PC. It usually succeeds mounting the disk
 
Old 05-18-2011, 07:15 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
note that the argument for fdisk is a lowercase L
 
Old 05-18-2011, 08:21 AM   #5
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Rep: Reputation: 30
I'm with 16pide - if you don't have an enclosure to hand you could also move the h/d to a spare slot in a desk-top where the host system will treat it as a data drive and you can copy your stuff to another drive.
 
Old 05-18-2011, 12:17 PM   #6
djkilgus
LQ Newbie
 
Registered: May 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for the quick responses. I'm at work right now, but I'm going to try your suggestions tonight.

16pide

Are the commands you listed any different than "sudo fdisk -l" (lower case l)? If so, I've already tried that an nothing happens (it goes to the next line with "ubuntu@ubuntu:~$" -- waiting for me to enter another command.

corp769

I'll try your command tonight!

rrsc16954

I assume the physical connection for the laptop hard drive is much smaller than a regular "IDE" connection in a desktop, correct?

If push comes to shove, I'll try to find an external enclosure, I just feel like if the disk is good I should be able to tackle this with Linux. Right? I'm willing to develop my linux-fu.

Thanks again!
 
Old 05-18-2011, 03:15 PM   #7
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
Quote:
Are the commands you listed any different than "sudo fdisk -l"
they should be just the same, but since your symptom (0 output) is what I get from a non root account, I suspect sudo is acting strange. su - should really log you as root. And then fdisk -l should give you some output.
 
Old 05-19-2011, 10:30 PM   #8
djkilgus
LQ Newbie
 
Registered: May 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Here are the results from: ls -al /dev/sd* /dev/hd*

ubuntu@ubuntu:~$ ls -al /dev/sd* /dev/hd*
ls: cannot access /dev/hd*: No such file or directory
brw-rw---- 1 root disk 8, 0 2011-05-19 21:11 /dev/sda
brw-rw---- 1 root disk 8, 1 2011-05-19 21:11 /dev/sda1
ubuntu@ubuntu:~$

16pide

I dig what you are saying. I tried what you suggested and it asks for password. I tried blank, ubuntu, nothing worked. Any ideas or did the above info get us further? I did find this in my searching for the su password: https://help.ubuntu.com/community/RootSudo

Does the above output help corp769?
 
Old 05-19-2011, 10:40 PM   #9
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Looks like that's your hard drive, bro! Have you tried mounting it manually? I would try creating a new directory in /media, named anything you want, and mount your drive using the following:
Code:
mount /dev/sda1 /media/hd1
Where hd1 is the new directory that you would create. If you get any warnings or errors, please paste them in here, using code tags. Thanks, and good luck dude once again

Cheers,

Josh
 
Old 05-20-2011, 02:53 AM   #10
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
djkilgus,
I would not create a directory in /media. this directory, at least in my distribution is populated automatically when plugging a disk.
instead, create a directory in /mnt then do as corp769 just said.

Now what worries me is that you don't have Super User access on that machine. without this you can't debug what is happening, and you can't force Linux to behave as you want.

So if I were you, I'd first work on getting root access by finding the root password.

Searching on the Internet, it seems Ubuntu live cd like my fedora live cd does not have a root password. So I'm a confused with what's happening on your pc!
 
Old 05-20-2011, 03:51 AM   #11
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
Searching on the Internet, it seems Ubuntu live cd like my fedora live cd does not have a root password. So I'm a confused with what's happening on your pc!
I am too man.... If only we had access
 
Old 05-20-2011, 07:22 PM   #12
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Rep: Reputation: 30
djkilgus - I must admit although I break up and rebuild desktops all the time I have never seen inside a laptop. However from the size and weight of a laptop and from 16pide's comment about putting it in a USB enclosure I assumed a laptop drive is the same as a desktop drive and that it would fit.

Sometimes if I am just trying to find out if a drive is useable or what's on it I will just sit it on a tin can beside the pc at the right height for connecting - if there are no available slots.

I am assuming the object is to get your data and not to have a learning experience in linux although don't get me wrong linux is a great tool for your situation - much more useful than the various windows boot/rescue disks. Have you tried knoppix? Quick to d/l and has some useful tools aboard for rescuing stuff from windows pc's. You do need to have somewhere to put your files though like a usb drive.

http://mnemonikk.org/2009/04/26/reco...fs-hard-drive/

The link above is to a personal blog (not mine - he's a techie in Berlin) with technical advice about recovering photos from a friend's drive using a tool called 'photorec' - I mention this because that and some other tools like it are on the knoppix distro. So knoppix gets you in and you use sudo to use the tools - if knoppix sees your drive - but worth a shot!

http://foremost.sourceforge.net/

That's a link to software now available to the public from the USAAF.

Good luck!

-

Last edited by rrsc16954; 05-20-2011 at 07:24 PM.
 
  


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
Ubuntu Live ~ Hard drive access sleeplesscitizen Ubuntu 9 11-11-2012 10:35 AM
LXer: Ubuntu live CD will let you upgrade to newer Ubuntu versions Ubuntu 11.04 Development LXer Syndicated Linux News 0 03-01-2011 04:20 PM
LXer: Building Customized Ubuntu Live-CDs With UCK On Ubuntu 9.04 LXer Syndicated Linux News 0 06-08-2009 08:50 AM
Problem to access internet via live cd Ubuntu 7.10 fluidistic Ubuntu 6 04-03-2008 11:00 AM
Live Ubuntu neither Live Kubuntu works? lomba36 Ubuntu 1 04-04-2006 03:28 PM


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