LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-09-2012, 02:46 AM   #1
Dasfiter
LQ Newbie
 
Registered: Aug 2011
Posts: 9

Rep: Reputation: Disabled
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?
 
Old 07-09-2012, 08:59 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,877

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
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.
 
Old 07-09-2012, 11:47 AM   #3
VDP76
Member
 
Registered: Apr 2010
Location: Bayreuth, Germany
Distribution: CrunchBang Linux (#!)
Posts: 111

Rep: Reputation: 19
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
Code:
sudo fdisk -l
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.
Old 07-10-2012, 01:59 AM   #4
Dasfiter
LQ Newbie
 
Registered: Aug 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by VDP76 View Post
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
Code:
sudo fdisk -l
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.
 
Old 07-10-2012, 02:08 AM   #5
Dasfiter
LQ Newbie
 
Registered: Aug 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-10-2012, 02:34 AM   #6
Dasfiter
LQ Newbie
 
Registered: Aug 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-11-2012, 12:28 AM   #7
Dasfiter
LQ Newbie
 
Registered: Aug 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
bump
 
Old 07-11-2012, 12:33 AM   #8
guyonearth
Member
 
Registered: Jun 2012
Location: USA
Distribution: Ubuntu
Posts: 414

Rep: Reputation: 82
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?
 
Old 07-11-2012, 12:49 AM   #9
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Whats the model of the laptop?
 
Old 07-11-2012, 01:25 AM   #10
Dasfiter
LQ Newbie
 
Registered: Aug 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-11-2012, 02:35 AM   #11
Dasfiter
LQ Newbie
 
Registered: Aug 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
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
 
  


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
Unable to boot ubuntu in a dual boot with windows 7 on Lenovo L420 bipin0013 Linux - Laptop and Netbook 10 09-14-2011 10:24 AM
Defunct WinXP in Ubuntu boot menu after upgrading from a dual-boot xph Linux - Newbie 4 12-27-2009 11:48 AM
Ubuntu bizarre boot sequence--- Boot hangs unless I turn off monitor Theoldras Linux - Hardware 4 07-13-2009 11:37 AM
Dual boot: Ubuntu 8.04 and XP. XP won't boot now - loops back to Ubuntu Slowbey Linux - Newbie 9 01-05-2009 03:44 AM
Changing default boot OS back to Ubuntu without being able to boot Ubuntu revenge02 Linux - Newbie 5 04-16-2007 09:37 PM


All times are GMT -5. The time now is 12:29 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