[nflug] Recursive "/boot" directory

Josh Johnson joshj at linuxmail.org
Mon Dec 5 20:21:39 EST 2005


I'm assuming that you can boot ok for now? You may have to rebuild your grub directory. If memory serves I think you just do 'grub' to get into the grub shell and then do 'root (hd0,0)' and 'setup (hd0)' (assuming that hda1 is your /boot directory and that you want it on your MBR). Then you'll have to redo your grub.conf from scratch. There is also a wrapper script to do it now. So I think you do 'grub-install' will take care of alot of it. Check out the installation documentation from gentoo first though.

-Josh


----- Original Message -----
From: "Robert F. Stockdale IV" <javabob at adelphia.net>
To: nflug at nflug.org
Subject: Re: [nflug] Recursive "/boot" directory
Date: Mon, 05 Dec 2005 17:00:40 -0500

> 
> Everything is there except the grub directory.
> this is the contents of /boot and I see it now. It is a symlink to 
> itself. I wonder what happened to the /boot/grub directory!
> 
> 	java ~ # ls -al /boot
> total 10154
> drwxr-xr-x   2 root root     536 Oct 24 02:58 .
> drwxr-xr-x  20 root root     496 Jul 30 10:35 ..
> -rw-r--r--   1 root root       0 Oct 23 00:36 .keep
> lrwxrwxrwx   1 root root      27 Oct 24 02:52 System.map -> 
> System.map-2.6.13-Gentoo-r3
> -rw-r--r--   1 root root 1143140 May 23  2005 System.map-2.6.11-gentoo-r6
> -rw-r--r--   1 root root 1033899 May 26  2005 System.map-2.6.11-gentoo-r9
> -rw-r--r--   1 root root 1089031 Oct 24 02:38 System.map-2.6.13-gentoo-r3
> lrwxrwxrwx   1 root root       1 Jun 14 11:50 boot -> .
> -rw-r--r--   1 root root   32799 May 23  2005 config-2.6.11-gentoo-r6
> -rw-r--r--   1 root root   30758 May 26  2005 config-2.6.11-gentoo-r9
> -rw-r--r--   1 root root   32828 Oct 24 02:36 config-2.6.13-gentoo-r3
> -rw-r--r--   1 root root 2512773 May 23  2005 kernel-2.6.11-gentoo-r6
> -rw-r--r--   1 root root 2205407 May 26  2005 kernel-2.6.11-gentoo-r9
> -rw-r--r--   1 root root 2285182 Oct 24 02:35 kernel-2.6.13-gentoo-r3
> lrwxrwxrwx   1 root root      23 Oct 24 02:55 vmlinuz -> 
> kernel-2.6.13-gentoo-r3
> 
> Of course I forgot to turn word wrap off.
> Bob
> 
> 
> Josh Johnson wrote:
> > boot is a symlink to the same directory:
> >
> > ls -l /boot/boot
> > lrwxrwxrwx  1 root root 1 Dec  2 06:25 /boot/boot -> .
> >
> > AFAIK its just to make things easier when setting up the (grub) 
> > bootloader, since everything starts as though your /boot 
> > partition was the root directory. That way you can access your 
> > kernel by (hd0,0)/bzImage or (hd0,0)/boot/bzImage. But its weird 
> > that everything else has vanished. If its completely empty except 
> > for the boot/boot symlink, then maybe your boot directory isn't 
> > mounted? I believe that Gentoo puts it in by default.
> >
> > -Josh
> >
> >
> >
> > ----- Original Message -----
> > From: "Robert F. Stockdale IV" <javabob at adelphia.net>
> > To: "Niagara Frontier Linux Users Group" <nflug at nflug.org>
> > Subject: [nflug] Recursive "/boot" directory
> > Date: Mon, 05 Dec 2005 16:14:34 -0500
> >
> >
> >> Don't know what happened. I went to look at my 
> >> /boot/grub/menu.lst file and it couldn't be found. so I cd'd 
> >> into "/boot" and found another "/boot" directory cd'd into that 
> >> one and found another. It just continues and continues like 
> >> this. The grub directory is not in any that I looked at. I think 
> >> I had gone 9 or 10 deep. All the directories are identical. Has 
> >> anyone seen this before?
> >> I'm running Gentoo Linux (recently updated with --newuse --deep 
> >> flags set). /boot is ext2 as it it small. All other partitions 
> >> are reiserfs.
> >> Any ideas?
> >> Bob
> >> _______________________________________________
> >> nflug mailing list
> >> nflug at nflug.org
> >> http://www.nflug.org/mailman/listinfo/nflug
> >
> >
> >
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug


-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list