LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Mint is not booting without USB stick (https://www.linuxquestions.org/questions/linux-newbie-8/linux-mint-is-not-booting-without-usb-stick-814688/)

girirajnet 06-17-2010 05:53 AM

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

yancek 06-17-2010 09:33 AM

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.

jefro 06-17-2010 03:58 PM

Check boot order in bios?

girirajnet 06-18-2010 01:26 AM

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

Fred Caro 06-18-2010 08:41 AM

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.

girirajnet 06-18-2010 09:37 AM

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

girirajnet 06-18-2010 09:49 AM

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.

crts 06-18-2010 12:17 PM

Quote:

Originally Posted by girirajnet (Post 4007611)
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

girirajnet 06-18-2010 03:54 PM

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 :-)


All times are GMT -5. The time now is 09:36 PM.