LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-17-2010, 05:53 AM   #1
girirajnet
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Rep: Reputation: 0
Linux Mint is not booting without USB stick


Hello,

I just installed Linux Mint in my Netbook with help of USB stick. I don't have CD drive in my netbook.

Its working fine but without USB stick its not booting. If start with USB stick its booting fine.

The booting files are in USB, how do I change the booting option. so that I can boot without USB stick help.

Thanks in advance
Giriraj
 
Old 06-17-2010, 09:33 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware, Ubuntu
Posts: 9,930

Rep: Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297
You need to install the Grub boot files to the hard drive. What else is on the computer, other operating systems? I would suggest you boot into Mint, open a terminal, type sudo su, enter your user password and enter the command: fdisk -l (lower case Letter L) and post your partition information. Also, at the terminal, type grub and post the output so we know which version of Grub you are using. If it is the latest version, it would be Grub2.
 
Old 06-17-2010, 03:58 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,640

Rep: Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549
Check boot order in bios?
 
Old 06-18-2010, 01:26 AM   #4
girirajnet
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the reply.

Here is the output

Screenshot 1 :

gnet girirajnet # fdisk -l

Disk /dev/sda: 8000 MB, 8000110592 bytes
255 heads, 63 sectors/track, 972 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x25a25c38

Device Boot Start End Blocks Id System
/dev/sda1 * 1 973 7812576+ c W95 FAT32 (LBA)
Partition 1 has different physical/logical endings:
phys=(971, 254, 63) logical=(972, 159, 19)

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00059537

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sdb2 13 19123 153497600 7 HPFS/NTFS
/dev/sdb3 19123 21554 19530752 83 Linux
/dev/sdb4 21555 30402 71065601 5 Extended
/dev/sdb5 21555 23986 19529728 83 Linux
/dev/sdb6 23986 25202 9764864 83 Linux
/dev/sdb7 25202 26417 9764864 82 Linux swap / Solaris
/dev/sdb8 26418 27633 9764864 83 Linux
/dev/sdb9 27633 28849 9764864 83 Linux
/dev/sdb10 28849 30065 9764864 83 Linux
/dev/sdb11 30065 30402 2705408 83 Linux
gnet girirajnet #

Screenshot 2:

gnet girirajnet # grub
The program 'grub' is currently not installed. You can install it by typing:
apt-get install grub


Shall I it install it as per instruction? if I install which option i need to choose grub or grub2? can I install it via Package Manager

Note 1: When I boot via USB (with BIOS boot options USB) it showing the boot list that means

Linux Mint 9 (2.6.32-21-generic (/dev/sdb5)
Linux Mint 9 (2.6.32-21-generic (/dev/sdb5)-- recovery mode
Memory test (memtest+86)
Memory test (memtest+86,serial console 115200)
Windows 7 (loader)(on/dev/sdb1)

If I boot without USB it is directly going to Windows.

Note 2: I am new to Linux :-)

Thanks
Giriraj

Last edited by girirajnet; 06-18-2010 at 01:27 AM.
 
Old 06-18-2010, 08:41 AM   #5
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
windows/linux

have you done a custom partitioning event? Things seem to overlap. It seems you have exhausted the available ram. I could be wrong , and have been many times, but it might be worth erasing the second partition (assuming that is linux) and re-installing it. On a clean install grub will chainload Windoze.

Fred.
 
Old 06-18-2010, 09:37 AM   #6
girirajnet
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Hello I have installed grub2 but nothing happened then I installed grub after that If I gave "grub" command I am getting below message

[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub>

I couldn't find any menu.lst file in the /boot/grub directory

girirajnet@gnet ~ $ cd /boot/grub

girirajnet@gnet /boot/grub $ ls -ltra me*
-rw-r--r-- 1 root root 2112 2010-06-18 22:03 memdisk.mod
-rw-r--r-- 1 root root 2876 2010-06-18 22:03 memrw.mod

but still If I boot with USB stick its asking the options like Linux, Linux recovery, memory test and Windows.

Pls let me know How to fix this and boot from HDD.

Thanks
Giriraj
 
Old 06-18-2010, 09:49 AM   #7
girirajnet
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Its dual boot (Windows + Linux Mint) so If I am not using USB stick, it automatically load Windows 7 (its not showing the boot list). Actually before I tried to install only Linux Mint also... but same problem.

Let me know if you need any more details.
 
Old 06-18-2010, 12:17 PM   #8
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by girirajnet View Post
Its dual boot (Windows + Linux Mint) so If I am not using USB stick, it automatically load Windows 7 (its not showing the boot list). Actually before I tried to install only Linux Mint also... but same problem.

Let me know if you need any more details.
Hi,

try the following:
First, boot into Mint. Then open a terminal and get root privileges. Don't know how exactly this is done in Mint, but one of the following should work:
Code:
su -
sudo -i
sudo su -
Now I assume that you installed Mint entirely on /dev/sdb5, especially I assume that /boot is not on a seperate partition.
Code:
mount /dev/sdb5 /mnt
[EDIT]
Before you continue you should backup your MBR first:
Code:
dd if=/dev/sda of=/mnt/root/mbr.sda bs=512 count=1
dd if=/dev/sdb of=/mnt/root/mbr.sdb bs=512 count=1
Next
Code:
grub-install --root-directory=/mnt /dev/sdb
update-grub
umount /mnt
reboot
If this still does not work then you could try to install on the MBR of /dev/sda. This can be by changing one line in the procedure:
Code:
grub-install --root-directory=/mnt /dev/sda

Last edited by crts; 06-18-2010 at 12:22 PM.
 
Old 06-18-2010, 03:54 PM   #9
girirajnet
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Hello All

I have fixed the problem with help of my friend.

The problem is...

When I install the Linux Mint OS I accepted default Boot loader settings (I saw the settings but I don't know what I have to change) instead of that in the advance settings I have modified the device as /dev/<first disk> and install the OS.

Now I am able to see the Boot Loader options when I start the Netbook. Now without USB stick Both Windows 7 and Linux Mint are booting fine.

Thanks for all ur help.
Giriraj

I hope this will help someone like me :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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: Booting from USB; Creating the Ultimate Bootable USB Stick Jinouchi Linux - Software 2 04-07-2010 04:17 PM
Updating Mint on usb stick?? Packrat1947 Linux Mint 2 04-01-2010 07:22 AM
Installing Linux Mint (non-'live') to a USB stick GazzaDJ Linux - Newbie 6 08-03-2009 03:32 PM
Boot from USB stick if no booting USB in Bios 1kyle SUSE / openSUSE 1 03-26-2007 12:24 AM
Booting from a USB Stick ed_homeLinux Linux - Hardware 2 08-11-2005 01:39 PM

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

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