Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
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.
I have a laptop with SuSE 11.2 installed, worked all like a charm.
Then the problems started :
I lost my display (it is dark, you can see very very faint the desktop from time to time)
Clearly a hardware problem.
So, I attached an external screen. Only this shows nothing, cannot get it activated.
Since the laptop automatically boots into our LAN, i just started it, and connected via SSH from an other computer.
No problem i have a shell.
Then I thought to be clever, and activated the pure-ftp demon, so I can download all interesting files to a new computer. I activated it with / as shared directory.
After that, I could not boot the laptop anymore, it did not connect to the network.
After a lot of try-outs I finally managed to get the external screen working (only after GDM is started, i can see the workspace, nothing at boot time).
Then I found out that the network would not start anymore, actually I could not even start yast or a su shell.
After some investigation, I found that pure-ftp had changed the owner of all files in the / partition to ftp (and the group also to ftp)
So, su has no access rights anymore to /etc/shadow, and thus cannot verify my root password anymore.
Now i'm stuck. I can work as normal user on the old machine, but no network, the DVD wont write anymore and usb sticks don't open anymore.
I cannot boot the system in single usermode, since then I have no screen.
Has anybody here the brilliant idea I need to get the files out of this machine, without taking the disc out(would not know how to do that anyway).
Booting from a LiveCD does sound like a good idea.
However, you will have the problem of getting the screen to show on the external display.
If I'm not mistaken, the CentOS Live CD (at least, there will be others) does start up sshd.
So that might solve that issue.
Finally, you will have to figure out where your files are. dmesg should show your old disk's partitions, cat /proc/partitions should as well.
This should mount them:
mkdir /t
mount /dev/sda1 /t
cd /t
Where /dev/sda1 would be the partition to want the files from and /t is just an empty directory to use as mount point.
...without taking the disc out(would not know how to do that anyway).
Taking the disk out and putting it in a USB enclosure, or just connecting it directly to another computer, is probably the easiest method. Taking the disk out is probably quite easy so don't be afraid to try it. I've seen laptops where you can remove a single screw then pull out the disk. If you turn the laptop over it might even be marked where the disk is and be obvious which screws you need to take out. If in doubt, Google the make/model and 'remove disk' or 'remove drive' and you probably find the answer.
I had a dell laptop at work. Bad BIOS settings darkened the LCD screen and I couldn't see to fix it. I connected the VGA port to an external monitor and used the FN key for the external monitor to fix it. You may simply have a dead battery on the motherboard, causing invalid stored BIOS settings.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.