LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-14-2011, 07:41 AM   #1
evansd321
LQ Newbie
 
Registered: Aug 2008
Posts: 24

Rep: Reputation: 0
I want my Ubuntu USB key to boot with no menu


Hi, I have created a Ubuntu USB key, but whey I boot it up the Grub boot menu gives me a few options, I just want it to automatically go to the 1st option, below is a copy of the the only file I could find from /boot/grup/loopback.cfg

menuentry "Try Ubuntu without installing" {
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=${iso_path} quiet splash --
initrd /casper/initrd.lz
}
menuentry "Install Ubuntu" {
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity iso-scan/filename=${iso_path} quiet splash --
initrd /casper/initrd.lz
}
menuentry "Check disc for defects" {
linux /casper/vmlinuz boot=casper integrity-check iso-scan/filename=${iso_path} quiet splash --
initrd /casper/initrd.lz
}
menuentry "Test memory" {
linux16 /install/mt86plus
}

Many thanks to anyone who can help me on this one ..
 
Old 03-14-2011, 08:05 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
What version of grub do you have installed?
 
Old 03-14-2011, 08:09 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Edit
Code:
/boot/grub/grub.cfg
and set the time out to 1
Code:
GRUB_TIMEOUT=1
You can comment out the other options in the menu

Kind regards

Last edited by repo; 03-14-2011 at 08:12 AM.
 
Old 03-14-2011, 08:20 AM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Deleted. Got busy and didn't realize how long I took to hit the post button.... Said the same thing as repo.

Last edited by corp769; 03-14-2011 at 08:21 AM.
 
  


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
Windows and Ubuntu on a USB key caa1980 Ubuntu 4 05-17-2010 12:29 PM
Defunct WinXP in Ubuntu boot menu after upgrading from a dual-boot xph Linux - Newbie 4 12-27-2009 10:48 AM
usb key boot on laptop guldo Linux - General 4 08-22-2005 09:07 PM
Ubuntu from Usb Key chrisstooss Ubuntu 0 04-11-2005 02:06 PM
I use a GtkItemFactory to make menu,but I want to use a number key to control menu? jiang10000 Programming 0 08-27-2003 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:29 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