LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-03-2014, 04:12 PM   #1
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Rep: Reputation: 3
Rescuing Unbootable Sid


I use Sid. I have two partitions of Sid and a separate disk of Windows. I have never lost any data. I am not having that sort of an issue.

What I want is to really REALLY learn Debian and how to maintain Sid so I can perhaps participate more actively in its development and maintenance as a useful reporter of bugs and the like. As such, I would really like to know how to rescue old Sid once I have made him go kaput.

Currently I have a partition that boots only in rescue mode. What sorts of logs can I look at to try to figure out what went wrong? Basically, as often seems to happen to me, it died when I tried to do a dist-upgrade. For whatever reason, it seems that if I just reinstall over the top of it and dist upgrade to testing, then from there to Sid, it always seems to work. I have no idea why it keeps choking on doing the dist-upgrade when Sid is already up and running. Perhaps to do with graphics drivers? But when I was watching the install, it looked for all the world like it backed NVidia out on its own, then upgraded the drivers...

Any help appreciated.
 
Old 10-03-2014, 04:26 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Try looking at /var/log/messages or /var/log/Xorg.
If you
Quote:
cd /var/log
ls
You'll see what messages are available, then you can use the cat command to view messages.
Example
Quote:
cat /var/log/messages | more
you can scroll thru the whole file, using page-up or page-dn.
 
Old 10-03-2014, 05:54 PM   #3
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
xorg.... So even though it LOOKED like nvidia was removed and reinstalled, it appears it was not. Or else something about the way apt-get does that fails to update some file somewhere so xorg knows where to look.

Does that sound like a bug? How would I go about investigating further? I can of course post the log for xorg, but I am not sure how that would help debug what happened with the apt-get dist-upgrade such that it did not properly install or somehow configure the nvidia drivers...

I dunno. Whatever anyone needs to help, I will do.
 
Old 10-03-2014, 08:30 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Do you know what nvidia driver you need.
Try lspci to find out what card you have.
Is network wireless or ethernet?
If ethernet try
Quote:
dhclient eth0
Then update & finish the upgrade on the system.
With debian sid you have to do dist-upgrade quite often so try
Quote:
apt-get update
apt-get upgrade
apt-get dist-upgrade

Last edited by EDDY1; 10-03-2014 at 08:37 PM.
 
Old 10-03-2014, 08:48 PM   #5
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by EDDY1 View Post
Do you know what nvidia driver you need.
Try lspci to find out what card you have.
Is network wireless or ethernet?
If ethernet try
Then update & finish the upgrade on the system.
With debian sid you have to do dist-upgrade quite often so try
Oh I got the driver. What I was asking is if anyone knows why the dist-upgrade messed it up. I was watching the upgrade scroll and saw that it appeared to uninstall the old Nvidia driver and then install the more recent, and then it gave me a message I had to "ok" to get past that said to get the Nvidia driver to be recognized I would have to restart the computer. Which I did. And it would not start.

I then waited for several months (lol!) and basically did another dist upgrade, then looked at the xorg log per the above instructions and low and behold it showed it could not find the nvidia driver. So I went back and installed nvidia-detect and ran it, and installed the suggested driver.

Now everything works, more or less. There is an error or sorts on startup to do with something in a jobs list. I will look that up in a bit. But what I am wondering is where I could look to find out why, even though dist-upgrade SEEMED to uninstall and reinstall the latest Nvidia driver, it nevertheless either was not there or was not found buy xorg.
 
Old 10-03-2014, 09:44 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by ShaneRoach View Post
But what I am wondering is where I could look to find out why, even though dist-upgrade SEEMED to uninstall and reinstall the latest Nvidia driver, it nevertheless either was not there or was not found buy xorg.
Try these logs:
/var/log/apt/term.log
/var/log/dpkg.log
/var/log/apt/history.log

Also depending on how you rotate your logs you may also have some older compressed versions of these logs. Your upgrade problem may not be in your latest log.

------------------------
Steve Stites
 
Old 10-03-2014, 10:42 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I just experienced the same problem that you did, with my external drive, which has never been connected to the machine that I was connecting to. My drive has an xorg.conf file so all I had to do is
Quote:
mv /etc/X11xorg.conf /etc/X11/xorg.conf.old
Now it's up & running.

Last edited by EDDY1; 10-04-2014 at 02:29 AM.
 
Old 10-04-2014, 01:49 AM   #8
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
It's been a while since the last time I used a computer with an nvidia card, but it might have been a buggy driver problem or an incompatibility between the driver and the kernel you were using at the moment. I remember having the last problem from time to time on a PC with an nvidia card.
 
Old 10-04-2014, 11:44 PM   #9
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
There seem to be a couple of issues. Not sure they are all to do with NVidia. One seems to be with a change in UUID from my dist-upgrade. I think I will go ahead and mark this closed. If the uuid issue or any logs lead me to further questions I'll post something else. The specific issue I had has been solved.

Thanks!
 
  


Reply



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
will the ltmodem drivers work in debian sid (knoppix sid) maximalred Debian 5 05-29-2009 10:44 AM
Sid users - lsymbol getxattr, version Sid : ATTR_1.0 not defined in file libattr.so.1 nx5000 Debian 2 12-19-2006 03:54 AM
rescuing a floppy Hacker X Linux - General 6 09-21-2006 08:17 PM
Sid unbootable after kernel upgrade st1cky_rice Debian 7 12-18-2005 07:08 AM
Rescuing my Debian! mc_03 Debian 9 03-30-2004 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:42 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
Open Source Consulting | Domain Registration