Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-21-2007, 06:27 PM
|
#1
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905
Rep:
|
No Grub.Conf File in 6.10?
I was looking in /boot/grub and I can't seem to find grub.conf. How can the system boot w/o the grub.conf file?
Code:
carlos@lptp:/boot/grub$ ls -la
total 196
drwxr-xr-x 2 root root 4096 2007-02-21 19:25 .
drwxr-xr-x 3 root root 4096 2006-12-13 18:54 ..
-rw-r--r-- 1 root root 197 2006-11-29 20:08 default
-rw-r--r-- 1 root root 15 2006-11-29 20:08 device.map
-rw-r--r-- 1 root root 7508 2006-11-29 20:08 e2fs_stage1_5
-rw-r--r-- 1 root root 7332 2006-11-29 20:08 fat_stage1_5
-rw-r--r-- 1 root root 16 2006-11-29 20:08 installed-version
-rw-r--r-- 1 root root 8128 2006-11-29 20:08 jfs_stage1_5
-rw-r--r-- 1 root root 3917 2007-02-21 19:25 menu.lst
-rw-r--r-- 1 root root 3910 2006-12-13 18:55 menu.lst~
-rw-r--r-- 1 root root 6804 2006-11-29 20:08 minix_stage1_5
-rw-r--r-- 1 root root 9076 2006-11-29 20:08 reiserfs_stage1_5
-rw-r--r-- 1 root root 512 2006-11-29 20:08 stage1
-rw-r--r-- 1 root root 105652 2006-11-29 20:08 stage2
-rw-r--r-- 1 root root 8764 2006-11-29 20:08 xfs_stage1_5
I also tried looking around in case it was in an "unusual" spot and I was unable to find it. Anyone care to help me out or explain why I can't find it.
Thanks!
|
|
|
02-21-2007, 06:32 PM
|
#2
|
Member
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702
Rep:
|
View your menu.lst
Is your /boot partition mounted (assuming it is on it's own partition)?
Run "mount"
If your /etc/fstab looks like this:
Code:
/dev/hda1 /boot ext2 noauto,noatime 1 2
then it may not be mounted at boot and you are not looking at your real boot partition.
Last edited by dxqcanada; 02-21-2007 at 06:34 PM.
|
|
|
02-21-2007, 06:39 PM
|
#3
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905
Original Poster
Rep:
|
Perhaps I am missing something...
Code:
carlos@lptp:/boot/grub$ mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.17-10-generic/volatile type tmpfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
I don't see my /boot partition in /etc/fstab.
Code:
carlos@lptp:/boot/grub$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1
UUID=2318bbb7-6d0e-48da-b4af-e7a6215ff72e / ext3 defaults,errors=remount-ro 0 1
# /dev/hda5
UUID=fe11757f-97b7-4a15-860f-70c148881ca2 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
|
|
|
02-21-2007, 06:41 PM
|
#4
|
Member
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702
Rep:
|
Your fstab shows that you do not have a unique partition for /boot.
View your /boot/grub/menu.lst ... as grub may be using that instead of the standard grub.conf.
|
|
|
02-21-2007, 06:47 PM
|
#5
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep: 
|
grub.conf is used mainly by the Red Hat family.
Just about every other Linux uses menu.lst.
grub.conf if used is just a symbolic to menu.lst which is the official configuration file sought by Grub.
|
|
|
02-21-2007, 06:47 PM
|
#6
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905
Original Poster
Rep:
|
Quote:
Originally Posted by dxqcanada
Your fstab shows that you do not have a unique partition for /boot.
View your /boot/grub/menu.lst ... as grub may be using that instead of the standard grub.conf.
|
Thanks!...
|
|
|
02-21-2007, 07:20 PM
|
#7
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep: 
|
It is quite acceptable to use a single partition for installation of a Linux and I never do anything else even with every Red Hat.
If you have menu.lst in the subdirectory /boot/grub that means /boot is a subdirectory to "/".
Only users who make a separate /boot partition will have to mount it and the menu.lst will be found in /grub directory of the partition that hosts /boot.
|
|
|
All times are GMT -5. The time now is 05:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|