LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-06-2009, 07:55 PM   #1
targettl
Member
 
Registered: Sep 2009
Location: Launceston
Distribution: Kubuntu
Posts: 84

Rep: Reputation: 16
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.
 
Old 12-06-2009, 08:54 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
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!
 
Old 12-06-2009, 09:49 PM   #3
targettl
Member
 
Registered: Sep 2009
Location: Launceston
Distribution: Kubuntu
Posts: 84

Original Poster
Rep: Reputation: 16
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
 
Old 12-06-2009, 10:12 PM   #4
targettl
Member
 
Registered: Sep 2009
Location: Launceston
Distribution: Kubuntu
Posts: 84

Original Poster
Rep: Reputation: 16
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
 
Old 12-06-2009, 10:38 PM   #5
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
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!
 
Old 12-06-2009, 11:19 PM   #6
targettl
Member
 
Registered: Sep 2009
Location: Launceston
Distribution: Kubuntu
Posts: 84

Original Poster
Rep: Reputation: 16
Yes I know that but I am not planning on updating grub. If I install or update something I will manually edit the file.
 
Old 12-08-2009, 07:15 PM   #7
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

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


Reply



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
grub drops to grub prompt on boot, but can use commands to find menu... fix? greenmuzz Linux - Software 7 06-07-2009 03:07 AM
Why /boot/grub/grub.conf is symlinked to /boot/grub/menu.lst raj_hcl1986@rediffma Linux - Newbie 2 10-19-2008 02:19 AM
How to set Grub not to auto boot any OS without Grub Boot menu shown ussr_1991 Linux - Software 2 09-01-2007 08:36 AM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 01:06 PM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration