Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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?
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.
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.
Thanks for the quick responses. I'm at work right now, but I'm going to try your suggestions tonight.
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.
I'll try your command tonight!
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.
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.
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
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
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!
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.
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!