Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty
Date: Mon, 07 Nov 2011 08:48:20
Message-Id: 20111107084656.43b19b8d@zaphod.digimed.co.uk
In Reply to: Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty by Adam Carter
1 On Mon, 7 Nov 2011 12:00:39 +1100, Adam Carter wrote:
2
3 > > All it does it copy the kernel, system map and config to /boot and
4 > > reset the symlinks to point to the new and previous kernels. You can
5 > > still keep as many kernels as you want in /boot, but you can always
6 > > boot the last two without modifying GRUB's config.
7 >
8 > Can you please ls -l /boot so i can see what it sets up? I'm still
9 > doing all that manually...
10 >
11
12 % ls -lh /boot
13 total 373M
14 lrwxrwxrwx 1 root root 1 Jul 22 2008 boot -> .
15 lrwxrwxrwx 1 root root 22 Nov 3 20:00 config -> config-3.1.0-gentoo-11
16 -rw-r--r-- 1 root root 78K Oct 19 09:30 config-3.0.7-gentoo
17 -rw-r--r-- 1 root root 79K Nov 2 16:47 config-3.1.0-gentoo-10
18 -rw-r--r-- 1 root root 79K Nov 3 19:58 config-3.1.0-gentoo-11
19 lrwxrwxrwx 1 root root 22 Nov 3 20:00 config.old -> config-3.1.0-gentoo-10
20 drwxr-xr-x 3 root root 4.0K Nov 6 21:23 grub2
21 lrwxrwxrwx 1 root root 26 Nov 3 20:00 System.map -> System.map-3.1.0-gentoo-11
22 -rw-r--r-- 1 root root 1.6M Oct 19 09:30 System.map-3.0.7-gentoo
23 -rw-r--r-- 1 root root 1.6M Nov 2 16:47 System.map-3.1.0-gentoo-10
24 -rw-r--r-- 1 root root 1.6M Nov 3 19:58 System.map-3.1.0-gentoo-11
25 lrwxrwxrwx 1 root root 26 Nov 3 20:00 System.map.old -> System.map-3.1.0-gentoo-10
26 lrwxrwxrwx 1 root root 23 Oct 19 21:58 System.map.safe -> System.map-3.0.7-gentoo
27 -rw-r--r-- 1 nelz users 350M Nov 3 00:17 systemrescuecd-x86-2.4.0.iso
28 lrwxrwxrwx 1 root root 23 Nov 3 20:00 vmlinuz -> vmlinuz-3.1.0-gentoo-11
29 -rw-r--r-- 1 root root 2.8M Oct 19 09:30 vmlinuz-3.0.7-gentoo
30 -rw-r--r-- 1 root root 2.9M Nov 2 16:47 vmlinuz-3.1.0-gentoo-10
31 -rw-r--r-- 1 root root 2.9M Nov 3 19:58 vmlinuz-3.1.0-gentoo-11
32 lrwxrwxrwx 1 root root 23 Nov 3 20:00 vmlinuz.old -> vmlinuz-3.1.0-gentoo-10
33
34 I think you need debianutils installed to create the symlinks. Grub
35 doesn't need to be touched because the menu points to the symlinks rather
36 than specific kernels although I'm using Grub2 on this box, so specific
37 versions are added to the end of the menu by grub2-mkconfig.
38
39
40 --
41 Neil Bothwick
42
43 I distinctly remember forgetting that.

Attachments

File name MIME type
signature.asc application/pgp-signature