Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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'm running the latest Ubuntu (6.06, 2.6.15-23-386).
The livecd boots fine, installing is fine. However, when I reboot and try to boot from hard disk, it isn't there.
Here is what I think is the relevant stuff from dmesg. (the full thing can be found at ht-tp://misc.randomphp.net/dmesgdat). The output to lspci can be found at ht-tp://misc.randomphp.net/lspcidat.
This is curious, because if I reboot the livecd, `ls /dev/sd*` just shows /dev/sda (not /dev/sda1, my root partition). Going into gparted, it correctly shows the partitions however with an exclaimation mark. If I delete and recreate said partitions, I can mount, access them and write and read files to and from them. ls correctly lists /dev/sda1. So it seems gparted is doing something when it performs the reformat/repartition that correctly sets up access.
As soon as I reboot, it all becomes inaccessable, I haven't found a way of getting to them yet.
I have consulted quite a few people on the subject and they seem to think this behaviour is very strange. I have actually submitted a bug report to ht-tps://launchpad.net/distros/ubuntu/+bug/53385 - this may contain more information. Does anyone have any ideas? Thanks in advance.
(remove the '-'s from the http links because it wouldn't let me post them until I've made three other posts..)
This is, indeed, a very strange problem. What boggles me a bit (and makes me think that it could be a bug in Ubuntu's implementation of parted/gparted, or perhaps fdisk) is that when you reboot, the partition goes away. One way to rule out a software problem is to try it with different software.
Download Knoppix from www.knoppix.org and burn it to a CD. (Here's hoping that you have another computer you can do this with.) Boot from the Knoppix CD and use QTParted (the KDE version of GParted), or just plain parted (from the command line, as root) to set up your partitions on /dev/sda. Copy some stuff to the partition(s) you create and reboot, logging once again into Knoppix. Now try to access the files you put on the partition(s) you created. If it works, chances are that it's a problem somewhere in Ubuntu (and you should post all this, including what you did to make it work, on the bug tracker). If it doesn't work, it's probably a hardware problem.
If knoppix has trouble seeing your hard drive (unlikely), try looking at the boot options when you first start up with the Knoppix disk in the drive. There may be something in there about SCSI or SATA that you should use (assuming that you're using a SCSI or SATA drive).
If you can get the partitions to "stay put" using Knoppix, there's still hope for installing Ubuntu: partition them in Knoppix, and then just tell the Ubuntu installer where you want the mount points to be.
Okay, trying this. Gonna take an hour or so to download.
[edit]
It didn't make a difference, but while doing the download I found qtparted under ubuntu, and tried the same process as described above. The knoppix ISO should be done in about 1 minute, I'll probably be trying to install it over the next half hour.
well, I just successfully booted knoppix and it found and automatically mounted /dev/sda1, and the files I created from within the Ubuntu livecd were there.
So does this confirm it to be a Ubuntu bug, is there anything I can do about it?
Is it useful for the Ubuntu bug tracking list to know about this?
I would definitely report it to the Ubuntu bug tracker, including a detailed description of what did and didn't work. It may even be a problem with udev or something like that.
You may, however, be able to find a workaround so that you can get your Ubuntu installation up and running. If you would like to give that a shot, please post the contents of /boot/grub/menu.lst, /boot/grub/device.map, and /etc/fstab on your /dev/sdax partition (where x is the "/" partition that Ubuntu will be using). Note that you must have Ubuntu installed on that drive in order to get these files off of it (although you can use Knoppix to access them).
Alternatively, you can download and install from the Ubuntu Alternate CD. This doesn't boot into a live CD, and has a text-based installer (ncurses), but is capable of doing more stuff (perhaps in a better fashion) that the default Desktop CD.
After much, much faffing (I spent almost two days solid on this), I ended up building the lastest kernel from scratch from within Knoppix. This has fixed the problem and I'm now talking to you from my new installation. Whoopie!
Although building a kernel from scratch isn't exactly a satisfactory solution, mind.
I did report this to Launchpad but I doubt they'll do anything about it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.