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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-09-2012, 02:46 AM
|
#1
|
LQ Newbie
Registered: Aug 2011
Posts: 9
Rep: 
|
Ubuntu 12.04 Will not boot
Hello
I have recently installed Ubuntu 12.04 on a secondary partition on my laptop. I have rescued and reinstalled at least 6 times after wiping and remaking the partition. Every time I install linux it completes successfully. Now, when I select the OS from GRUB it crashes after giving quite a long list of failed device connection errors SATA link down (SStatus 0 SControl 310).
The thing is that I can boot fine to my windows partition. On the previous hard drive I had inside this laptop I did not have this problem. The last Hard drive recently died and replaced it with this 7200 500gb drive. Ever since I have been getting this error.
Thanks!
Also, is there a way to record the output to show you guys?
|
|
|
07-09-2012, 08:59 AM
|
#2
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
In a terminal, run the command dmesg. If you see the errors you mentioned, then capture the output: dmesg > booterrors.txt. You can then edit the file to remove anything not pertinent to the problem.
Also, show the output of fdisk -l to show us the partition structure of the drive.
|
|
|
07-09-2012, 11:47 AM
|
#3
|
Member
Registered: Apr 2010
Location: Bayreuth, Germany
Distribution: CrunchBang Linux (#!)
Posts: 111
Rep:
|
It is my understanding that you can't actually get to the Desktop, right!?
To give us information, I guess the very rough way would be to take a picture of your screen when the errors show off.
However, a more "elegant" way would be to boot from any Live Cd (see Debian Live project for example), which should automatically mount your drives, then run
and show us the output. Moreover, try to see if any of /var/log/kern.log, /var/log/messages or /var/log/syslog contain text with the errors you want to report.
Good luck! 
|
|
1 members found this post helpful.
|
07-10-2012, 01:59 AM
|
#4
|
LQ Newbie
Registered: Aug 2011
Posts: 9
Original Poster
Rep: 
|
Quote:
Originally Posted by VDP76
It is my understanding that you can't actually get to the Desktop, right!?
To give us information, I guess the very rough way would be to take a picture of your screen when the errors show off.
However, a more "elegant" way would be to boot from any Live Cd (see Debian Live project for example), which should automatically mount your drives, then run
and show us the output. Moreover, try to see if any of /var/log/kern.log, /var/log/messages or /var/log/syslog contain text with the errors you want to report.
Good luck! 
|
Yea, I can't get anywhere at all. After choosing the verbose ption in grub, there are a bunch of messages that state that ata device rejected some sort of command. Then it goes on to state ata5 and ata6 link down. This a laptop mind you.
|
|
|
07-10-2012, 02:08 AM
|
#5
|
LQ Newbie
Registered: Aug 2011
Posts: 9
Original Poster
Rep: 
|
http://youtu.be/tqr_XzeB8Xk Shows the entire log I get when I log in.
Last edited by Dasfiter; 07-10-2012 at 01:04 PM.
|
|
|
07-10-2012, 02:34 AM
|
#6
|
LQ Newbie
Registered: Aug 2011
Posts: 9
Original Poster
Rep: 
|
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x3c2b0450
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 234438655 117218304 7 HPFS/NTFS/exFAT
/dev/sda2 234440702 976771071 371165185 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 970489856 976771071 3140608 82 Linux swap / Solaris
/dev/sda6 234440704 970489855 368024576 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 4000 MB, 4000317440 bytes
124 heads, 62 sectors/track, 1016 cylinders, total 7813120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00012b01
Device Boot Start End Blocks Id System
/dev/sdb1 * 62 7811007 3905473 c W95 FAT32 (LBA)
This is from the live CD. I hope you guys can help me figure this out. I very stumped.
|
|
|
07-11-2012, 12:28 AM
|
#7
|
LQ Newbie
Registered: Aug 2011
Posts: 9
Original Poster
Rep: 
|
bump
|
|
|
07-11-2012, 12:33 AM
|
#8
|
Member
Registered: Jun 2012
Location: USA
Distribution: Ubuntu
Posts: 424
Rep:
|
Your partition table is corrupt or in error (same thing). Windows ignores certain partition table errors, Linux is more fussy. You'll have to probably delete all those partitions and start again. Why are you reinstalling over and over again?
|
|
|
07-11-2012, 12:49 AM
|
#9
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Whats the model of the laptop?
|
|
|
07-11-2012, 01:25 AM
|
#10
|
LQ Newbie
Registered: Aug 2011
Posts: 9
Original Poster
Rep: 
|
I can delete all partitions. Not a problem. Its just an HP something something rather. I replaced the hard drive recently since the other one had a header that was starting to fail. I only got these problems after I laid an image down on the new drive with windows, then installed linux after on the free space of the partition.
I was reinstalling because I wasnt sure if I had a cupport version on my USB drive.
Last edited by Dasfiter; 07-11-2012 at 01:26 AM.
|
|
|
07-11-2012, 02:35 AM
|
#11
|
LQ Newbie
Registered: Aug 2011
Posts: 9
Original Poster
Rep: 
|
After deleting everything and reinstalling linux, this is the result:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000d2397
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 970485759 485241856 83 Linux
/dev/sda2 970487806 976771071 3141633 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 970487808 976771071 3141632 82 Linux swap / Solaris
|
|
|
All times are GMT -5. The time now is 10:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|