LinuxQuestions.org
Visit Jeremy's Blog.
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 02-07-2013, 05:03 PM   #1
toli
LQ Newbie
 
Registered: Jan 2012
Posts: 11

Rep: Reputation: Disabled
Debian Squeeze grub 2 issues boots from my installation USB SOLVED


Hello,

I've looking around to solve my problem, but I can't and hope here you can help

I have installed netinstall of debian from USB and the grub have been installed on the USB key. I tried a lot of things and finally arrived to boot from my first HDD but only grub>
From grub I tried the following:
Code:
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-5-686 root=/dev/sda11
initrd /boot/initrd.img-2.6.32-5-686
boot
After this I get some different kind of shell says :
Code:
/bin/sh: can't access tty: job control turned off
If I reboot and use the USB I can still boot normal, but not without it...

Here is fdisk -l
Code:
root@music:~# fdisk -l

Disk /dev/sda: 4001 MB, 4001292288 bytes
255 heads, 63 sectors/track, 486 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: 0x000deb10

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         460     3693568   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2             461         487      210945    5  Extended
Partition 2 does not end on cylinder boundary.
/dev/sda5             461         487      210944   82  Linux swap / Solaris

Disk /dev/sdb: 16.0 GB, 16026435072 bytes
255 heads, 63 sectors/track, 1948 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: 0x000330de

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1949    15648768    c  W95 FAT32 (LBA)
Here is my fstab:
Code:
oot@music:~# cat /etc/fstab 
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sdc1 during installation
UUID=891bac5e-a242-4f5b-819d-b92050bf228a /               ext3    errors=remount-ro 0       1
# swap was on /dev/sdc5 during installation
UUID=1cc869d2-75a6-4c62-93d8-da16cf38dff8 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/sda1       /media/usb0     auto    rw,user,noauto  0       0
/dev/sdc2	/home/toli/.mpd/music	auto	rw,user,auto
Thank you

Toli

Last edited by toli; 02-07-2013 at 08:18 PM. Reason: Solved
 
Old 02-07-2013, 08:17 PM   #2
toli
LQ Newbie
 
Registered: Jan 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Just solved the problem used:

Code:
grub-mkconfig
update-grub
grub-install /dev/sda
Voila

Thanks
 
  


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
WLAN issues in Debian Squeeze RTL8188CE tondalar Debian 4 02-29-2012 01:01 PM
Shorewall issues on Debian Squeeze Fred Lappert Linux - Security 2 02-15-2012 01:44 PM
LXer: Automatic installation of Debian Squeeze from a USB flash drive LXer Syndicated Linux News 0 11-02-2011 05:41 PM
Debian Squeeze: Grub not working (XP removing grub) wearetheborg Debian 10 02-16-2010 06:33 PM
slackware installation with lilo boots into GRUB lido Slackware 4 10-15-2006 12:05 AM


All times are GMT -5. The time now is 05:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration