Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 09-25-2005, 06:53 AM   #1
Senior Member
Registered: Apr 2003
Posts: 3,592

Rep: Reputation: 54
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

Old 09-25-2005, 08:21 AM   #2
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
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..........


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Right way to edit /boot/grub/menu.lst ? eeried Linux - Software 2 02-07-2007 09:59 AM
need to access /boot/grub/menu.lst and /boot/grub/ neouto Linux - Newbie 8 09-04-2005 12:45 PM
/boot/grub/menu.lst gets re-written by apt-get..NOT COOL terrapin24h Ubuntu 2 07-04-2005 10:14 AM
anyone know how to edit the /boot/grub/menu.lst? plzz help earth.hero Linux - Newbie 17 03-26-2005 11:15 AM
GRUB menu.lst for Fedora and Mandrake Dual boot the_padre Linux - Newbie 3 03-15-2005 02:21 AM

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration