Re: OT: General grub question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I built a new kernel for one of our SuSe servers, and I put all the files
> in the correct places.
> But when I went to look for a /boot/grub/grub.conf file, there was none.
> Does anyone know how to install a new kernel into grub?


Ok

> Is /boot mounted??

Yes

egis1a:/boot/grub # mount
/dev/mapper/system-Root on / type ext3 (rw,acl,user_xattr)
proc on /proc type proc (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/md0 on /boot type ext3 (rw,acl,user_xattr)
/dev/mapper/system-Home on /home type reiserfs (rw,acl,user_xattr)
/dev/mapper/system-Tmp on /tmp type reiserfs (rw,acl,user_xattr)
/dev/mapper/system-Usr on /usr type reiserfs (rw,acl,user_xattr)
/dev/mapper/system-Var on /var type reiserfs (rw,acl,user_xattr)
/dev/hdc on /media/cdrom type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)
usbfs on /proc/bus/usb type usbfs (rw)


> what about /etc/grub.conf?

there is no files in /etc  like grub

> what are the contents of /boot?

egis1a:/boot # ll
total 8944
drwxr-xr-x 4 root root 4096 2004-07-15 21:33 .
drwxr-xr-x 20 root root 4096 2004-07-15 21:35 ..
-rw-r--r-- 1 root root 512 2004-06-10 18:14 backup_mbr
lrwxrwxrwx 1 root root 1 2004-06-10 18:08 boot -> .
-rw-r--r-- 1 root root 512 2004-06-10 18:14 boot.0300
-rw-r--r-- 1 root root 512 2004-06-10 18:14 boot.0900
-rw-r--r-- 1 root root 54401 2004-07-01 12:26 config-2.6.5-7.95-smp
drwxr-xr-x 2 root root 4096 2004-07-15 21:31 grub
lrwxrwxrwx 1 root root 20 2004-07-15 21:33 initrd -> initrd-2.6.7-1b2.img
-rw-r--r-- 1 root root 1613653 2004-07-15 16:57 initrd-2.6.5-7.95-smp
-rw-r--r-- 1 myep users 217190 2004-07-15 18:43 initrd-2.6.7-1b2.img
lrwxrwxrwx 1 root root 21 2004-07-15 16:57 initrd.orig -> initrd-2.6.5-7.95-smp
lrwxrwxrwx 1 root root 20 2004-07-09 17:21 initrd.suse -> /boot/initrd.shipped
-rw-r--r-- 1 root root 122412 2004-07-01 12:26 Kerntypes-2.6.5-7.95-smp
drwx------ 2 root root 16384 2004-06-10 18:05 lost+found
-rw------- 1 root root 164352 2004-07-15 16:57 map
-rw-r--r-- 1 root root 83456 2004-07-09 17:21 message
-rw-r--r-- 1 root root 78671 2004-07-01 12:26 symvers-2.6.5-7.95-i386-smp.gz
-rw-r--r-- 1 root root 758392 2004-07-01 12:19 System.map-2.6.5-7.95-smp
-rw-r--r-- 1 myep users 825051 2004-07-15 18:44 System.map-2.6.7-1b2
-rw-r--r-- 1 root root 1861184 2004-07-01 12:26 vmlinux-2.6.5-7.95-smp.gz
lrwxrwxrwx 1 root root 17 2004-07-15 21:33 vmlinuz -> vmlinuz-2.6.7-1b2
-rw-r--r-- 1 root root 1584926 2004-07-01 12:19 vmlinuz-2.6.5-7.95-smp
-rw-r--r-- 1 myep users 1677285 2004-07-15 18:44 vmlinuz-2.6.7-1b2
lrwxrwxrwx 1 root root 22 2004-07-09 15:59 vmlinuz.orig -> vmlinuz-2.6.5-7.95-smp
lrwxrwxrwx 1 root root 21 2004-07-09 17:21 vmlinuz.suse -> /boot/vmlinuz.shipped


NOTE: I tried to change the symbolic links for vmlinuz and initrd to point at my new kernel but it didnt work.


egis1a:/boot/grub # ll total 256 drwxr-xr-x 2 root root 4096 2004-07-15 21:31 . drwxr-xr-x 4 root root 4096 2004-07-15 21:33 .. -rw-r--r-- 1 root root 45 2004-07-15 21:12 device.map -rw-r--r-- 1 root root 11520 2004-04-05 20:20 e2fs_stage1_5 -rw-r--r-- 1 root root 10544 2004-04-05 20:20 fat_stage1_5 -rw-r--r-- 1 root root 9408 2004-04-05 20:20 ffs_stage1_5 -rw-r--r-- 1 root root 11584 2004-04-05 20:20 jfs_stage1_5 -rw-r--r-- 1 root root 9856 2004-04-05 20:20 minix_stage1_5 -rw-r--r-- 1 root root 13184 2004-04-05 20:20 reiserfs_stage1_5 -rw-r--r-- 1 root root 512 2004-04-05 20:20 stage1 -rw-r--r-- 1 root root 132213 2004-04-05 20:20 stage2 -rw-r--r-- 1 root root 9056 2004-04-05 20:20 vstafs_stage1_5 -rw-r--r-- 1 root root 13160 2004-04-05 20:20 xfs_stage1_5 egis1a:/boot/grub #

There is also no menu.lst, I tried putting that in there, but it didn't do anything









Michael Yep
Development / Technical Operations
RemoteLink, Inc.
(630) 983-0072 x164



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux