LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Grub menu slow on boot (https://www.linuxquestions.org/questions/linux-software-2/grub-menu-slow-on-boot-773873/)

targettl 12-06-2009 07:55 PM

Grub menu slow on boot
 
When I turn on my machine it takes longer loading the grub boot menu then the OS i.e. a long time. I also wish to edit my menu.lst but I can't find it. As far as I know it shoud always be /boot/grub/menu.lst
Grub is installed on sda
/boot sdb1 ext4 165MB used
/ sda1 ext4 raid 0
/ sdb3 ext4 raid 0

#ls /boot
abi-2.6.31-14-generic config-2.6.31-16-generic initrd.img-2.6.31-16-generic System.map-2.6.31-14-generic vmcoreinfo-2.6.31-16-generic
abi-2.6.31-16-generic grub lost+found System.map-2.6.31-16-generic vmlinuz-2.6.31-14-generic
config-2.6.31-14-generic initrd.img-2.6.31-14-generic memtest86+.bin vmcoreinfo-2.6.31-14-generic vmlinuz-2.6.31-16-generic
#ls /boot/grub
915resolution.mod boot.mod datetime.mod fshelp.mod hfs.mod lvm.mod part_amiga.mod pxe.mod terminfo.mod vga.mod
acpi.mod bsd.mod device.map fs.lst hfsplus.mod mdraid.mod part_apple.mod raid5rec.mod test.mod vga_text.mod
affs.mod bufio.mod diskboot.img fs_uuid.mod iso9660.mod memdisk.mod part_gpt.mod raid6rec.mod tga.mod video_fb.mod
afs_be.mod cat.mod dm_nv.mod gfxterm.mod jfs.mod memrw.mod partmap.lst raid.mod true.mod video.mod
afs.mod cdboot.img drivemap.mod gptsync.mod jpeg.mod minicmd.mod part_msdos.mod read.mod udf.mod videotest.mod
aout.mod chain.mod echo.mod grub.cfg kernel.img minix.mod part_sun.mod reboot.mod ufs1.mod xfs.mod
ata.mod cmp.mod efiemu32.o grubenv keystatus.mod mmap.mod parttool.lst reiserfs.mod ufs2.mod xnu.mod
ata_pthru.mod command.lst efiemu64.o gzio.mod linux16.mod moddep.lst parttool.mod scsi.mod uhci.mod xnu_uuid.mod
at_keyboard.mod configfile.mod efiemu.mod halt.mod linux.mod msdospart.mod password.mod search.mod usb_keyboard.mod zfsinfo.mod
befs_be.mod core.img elf.mod handler.lst lnxboot.img multiboot.mod pci.mod serial.mod usb.mod zfs.mod
befs.mod cpio.mod ext2.mod handler.mod loadenv.mod normal.mod play.mod setjmp.mod usbms.mod
biosdisk.mod cpuid.mod extcmd.mod hdparm.mod loopback.mod ntfscomp.mod png.mod sfs.mod usbtest.mod
bitmap.mod crc.mod fat.mod hello.mod lsmmap.mod ntfs.mod probe.mod sh.mod vbeinfo.mod
blocklist.mod datehook.mod font.mod help.mod ls.mod ohci.mod pxeboot.img sleep.mod vbe.mod
boot.img date.mod fs_file.mod hexdump.mod lspci.mod part_acorn.mod pxecmd.mod tar.mod vbetest.mod

As you can see there is alot of stuff there, I don't think it is normally. Do other people have this many files there.

irishbitte 12-06-2009 08:54 PM

What version of kubuntu are you running? So far as I know, 9.10 runs grub 2, which is alot different. If you are running an earlier kubuntu, I dunno what you did to your /boot directory!

targettl 12-06-2009 09:49 PM

Okay there is half my answer.I didn't know there was a grub2. I am using Karmic Koala. So I'm now thinking that it is a problem with grub2. There is a bug in grub2 which makes booting from the drive that doesn't have /boot on it makes it really slow. To fix that you can install grub2 on the drive that has /boot on it. sudo dkpg-reconfigure grub-pc

targettl 12-06-2009 10:12 PM

Instead of /boot/grub/menu.lst you can edit /boot/grub/grub.cfg. Apparently your not meant to edit this file but I did any way and everything is fine.
sudo cp -a /boot/grub/grub.cfg /boot/grub/grub.cfg.backup
sudo vim /boot/grub/grub.cfg
Edit
:wq! to save

irishbitte 12-06-2009 10:38 PM

You should read this: https://help.ubuntu.com/community/Grub2, there is good reason not to modify the /boot/grub/grub.cfg file. Simply put, your mods will be overwritten every time you update grub!

targettl 12-06-2009 11:19 PM

Yes I know that but I am not planning on updating grub. If I install or update something I will manually edit the file.

irishbitte 12-08-2009 07:15 PM

Fair enough. I still think you should try using it the way it's meant to be used, but it's your call.


All times are GMT -5. The time now is 04:21 PM.