-   Linux From Scratch (
-   -   How to edit /boot/grub/menu.lst of the host (

satimis 09-25-2005 06:53 AM

How to edit /boot/grub/menu.lst of the host
Hi folks,

BLFS 6.1

This is a dual boot box. BLFS 6.1 and FC3, the host.

While running BLFS 6.1 I'm not allowed to visit /boot/grub/menu.lst of the host, FC3. I made 2 tests as follows;

After chroot FC3

root@localhost:/# ls

bin            dev  home2  lost+found  mnt      proc  selinux  tmp    var
binutils-build  etc  initrd  media      opt      root  srv      tools
boot            home  lib    misc        poweroff  sbin  sys      usr

showing the directories of FC3

root@localhost:/# ls -al /boot/

total 16
drwxr-xr-x  2 root root 4096 May 20 19:49 .
drwxr-xr-x  25 root root 4096 Sep 24 13:12 ..

The directory /boot/grub not found.

root@localhost:/# find / -name menu.lst

find: /proc/1/task: Permission denied
find: /proc/2/task: Permission denied
find: /proc/3/task: Permission denied
find: /proc/4/task: Permission denied
find: /proc/5/task: Permission denied

Mounting '/' of FC3

root@localhost:/home/satimis# mount /dev/hda2 /mnt/fcroot/
root@localhost:/home/satimis# find /mnt/fcroot/ -name menu.lst

/boot/grub/menu.lst not found.

Please advise how to authenticate BFLS 6.1 to visit/edit /boot/grub/menu.lst of FC3 temporarily. TIA


freakyg 09-25-2005 08:21 AM

you can't!............even tho you are in ..........


chroot considers the top directory to be /usr
and you can't see/edit/visit /mnt or /mnt/lfs
they dont exist as far a chroot is concerned..........

All times are GMT -5. The time now is 02:28 AM.