where do kernel updates write, apart from...

Ronald Warsow rwarsow at online.de
Tue Aug 28 22:26:17 UTC 2007


Peter Jones wrote:
> Ronald Warsow wrote:
...
> 

thanks for reply !

> So this sounds like (all of):
> 
> 1) you've got another /boot on some other partition, from some other 

do you mean /boot *partition* or boot *dir(s)* on partition(s) ?
the later is the case and i've got absolutely no single boot-partition
called /boot.


> install
> 2) you're booting it (or grub installed to the MBR) instead of sda3

this was a yum update and a reboot.
i hadn't any trouble with the update to kernel 74.

MBR ?
i got 3 disks in my box, 2 sata's (one is data only disk: sdb) and 1 pata.

my disk layout:
disk layout seen from F7:

    Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         974     7823623+  83  Linux	=>F7
/dev/sda2             975        1948     7823655   83  Linux
/dev/sda3            1949       14107    97667167+  8e  Linux LVM
/dev/sda4           14108       38913   199254195    5  Extended
/dev/sda5           14108       15081     7823623+  83  Linux
/dev/sda6           15082       16055     7823623+  83  Linux
/dev/sda7           16056       16708     5245191   83  Linux

    Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       18237   146488671   83  Linux
/dev/sdb2           18238       18481     1959930   82  Linux swap / Solaris

    Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1         748     6008278+   7  HPFS/NTFS
/dev/sdc2             749        2053    10482412+   c  W95 FAT32 (LBA)
/dev/sdc3   *        2054        3359    10490445   83  Linux	=> F8


hhhmmm
sdb1 is still bootable (my old 1st disk), but it shouldn't do anything,
else i had written such mails after the update to kernel 74.

will try to boot sdb, in a view moments...
checked: not bootable.

now i'm complete unsure what will happen with the data on a partition,
when i install a boot record to it.

irc, data are damaged then (?)
if so: if had overwritten sda3 => LVM damaged. sdb has no 3rd partition.


> 3) /boot/grub/device.map is wrong

it initially came from an T1 install. not changed by me.

but shit !
after no reply to my mail i have moved that f8 partition to /dev/null,
so i can't copy/paste it here now.

but i looked at it after that trouble, irc it was differnt to F7's.
the order of the drives was
- pata first and sata last.

this is like teh controller order seen with lspci, but it ignores my
bios layout.
i choosed sata's first.

- will try to reproduce this: T1 install + update to kernel 74-

but anyway something is wrong:
1)
both F7 and F8 say they are on sda
under F7 it's a Sata drive (bios layout)
under F8 it's a Pata drive (lspci view)

2)
after chain-load-booting to kernel 74,
- i yum-removed 73.
- the grub entry was gone and there were nothing related to 73 under /boot.

on next reboot i was faced with both again (73+74) and but no
2.6.23-0.115.rc3.git1.fc8

3)
a grub-install /dev/sda3 failed


that's really crazy !



now i first have to read how to find and to identify entries (that 73)
on partition over all 3 disks...

someone with a helpful idea ?


-- 
      Ronald





More information about the fedora-test-list mailing list