1 |
On Friday 15 October 2010 11:40:34 am Florian Philipp wrote: |
2 |
> Am 15.10.2010 19:29, schrieb Mike Diehl: |
3 |
> > Hi all. |
4 |
> > |
5 |
> > I've never had this much trouble with a server before, but I've been |
6 |
> > pulling my hair out. |
7 |
> > |
8 |
> > The install seemed to go well, but when I rebooted it from it's own hard |
9 |
> > drive, it fails. fsck claims that it can't open /dev/sda3 or that the |
10 |
> > superblock doesn't describe a valid ext2 filesystem. |
11 |
|
12 |
> *All* of the drivers could be too much. There is a generic driver which |
13 |
> can prevent the "right" driver from taking over. In that case you end up |
14 |
> with a /dev/hda node and no DMA. Try to deactivate "Generic ATA support" |
15 |
> = CONFIG_ATA_GENERIC and "generic/default IDE chipset support" = |
16 |
> CONFIG_IDE_GENERIC. |
17 |
> I think it is the second option that causes that problem. However, you |
18 |
> won't need the first option, either. |
19 |
|
20 |
I tried this, first without success. I then ran through all combinations of |
21 |
sda3, sdb3, hda3, hdb3 in /etc/fstab. This didn't work. |
22 |
|
23 |
> Instead of your brute-force "yes to all" approach, newer kernels also |
24 |
> support `make localyesconfig` which takes all modules currently used in |
25 |
> the running kernel and compiles them into the new kernel. It is very |
26 |
> helpful when you already have a good but generic kernel like the one on |
27 |
> your live CD. |
28 |
|
29 |
I tried this, next. At least now, I believe I have a viable kernel. But it |
30 |
still didn't work. |
31 |
|
32 |
> If even that doesn't help, it might be possible that the device |
33 |
> numbering has changed and your hard disk is detected as /dev/sdb or so. |
34 |
> Try mounting it by UUID (google for it, please). |
35 |
|
36 |
I tried this. Only now, fsck.ext2 tells me that it can't resolve the UUID. |
37 |
|
38 |
Here is the new fstab: |
39 |
/dev/sda1 /boot ext2 noauto,noatime 1 2 |
40 |
|
41 |
UUID=ba7511dd-a5f9-48d8-8102-cf71c08a0c7b / ext2 noatime 0 1 |
42 |
|
43 |
/dev/sda2 none swap sw 0 0 |
44 |
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0 |
45 |
|
46 |
At this point, I'm going to move the drive to a different port on the SATA |
47 |
chain; shouldn't change anything, but I'm running out of ideas. I'll also |
48 |
check the BIOS for anything stupid-obvious. |
49 |
|
50 |
So, I guess I'm still stuck! |
51 |
|
52 |
> Hope this helps, |
53 |
> Florian Philipp |
54 |
|
55 |
-- |
56 |
|
57 |
Take care and have fun, |
58 |
Mike Diehl. |