LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-25-2005, 05:53 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Rep: Reputation: 52
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;

1)
After chroot FC3

root@localhost:/# ls
Code:
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/
Code:
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
Code:
/usr/share/doc/grub-0.95/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
.....
2)
Mounting '/' of FC3

root@localhost:/home/satimis# mount /dev/hda2 /mnt/fcroot/
root@localhost:/home/satimis# find /mnt/fcroot/ -name menu.lst
Code:
/mnt/fcroot/usr/share/doc/grub-0.95/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

BR
satimis
 
Old 09-25-2005, 07:21 AM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
you can't!............even tho you are in ..........

Code:
/mnt/lfs/usr/lib
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..........
 
  


Reply


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 08:59 AM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 11:45 AM
/boot/grub/menu.lst gets re-written by apt-get..NOT COOL terrapin24h Ubuntu 2 07-04-2005 09:14 AM
anyone know how to edit the /boot/grub/menu.lst? plzz help earth.hero Linux - Newbie 17 03-26-2005 10:15 AM
GRUB menu.lst for Fedora and Mandrake Dual boot the_padre Linux - Newbie 3 03-15-2005 01:21 AM


All times are GMT -5. The time now is 06:17 PM.

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