LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-03-2011, 05:58 AM   #1
drum159
LQ Newbie
 
Registered: Feb 2007
Posts: 16

Rep: Reputation: 0
boot debian6 from usb stick


hello everyone,

I 'm trying to boot debian 6 installed on an usb-stick.
(on a hp netbook, but I dont think that is relative.)
it is on hd0, at the first partition (I only have 1 partition), named
hd0,msdos1 (strange because it is ext2 formatted, but ok,the command root (hdO,msdos1) gives filesystem is ext2 as output)

when I start up I 'm getting a grub commandline
when I do ls I see hd0 and hd0,msdos1 (and hd1 and his windows partitions on the hd)
ls / shows me all my subdirs (including dev tmp and proc
and ls /boot lets me see my kernel and initrd

so I am able to boot with
linux /boot/vmlinuz-2.6.32-5 root=(hd0) (*1 see below)
initrd /boot/initrd-2.6.32-5
boot

kernel boots but stops at cannot access tty, job control turned off.
so I am in the debian busy box ash shell and an ls at that point shows me bin, dev,init,proc,sbin,sys,var,conf,etc,lib,root,scripts,tmp EXCEPT the /boot dir.
ls dev at that point shows me sda, sda1 and sdb and a lot of tty s (amongst the rest)

what is the solution to make it go on and boot completely?
what is the right grub command for me or even better:
what do I put in /boot/grub/menu.lst so I don t have to start the kernel from the grub command line anymore

------------------
/boot/grub/menu.lst

default 0
timeout 10
kopt=root=UUID=869c78d1-6437-4d2d-9fd2-1c518a9fb0e8 ro rootdelay=10

## controls how many kernels should be put into the menu.lst
howmany=all

title Debian GNU/Linux, kernel 2.6.32-5-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-5-686 root=UUID=869c78d1-6437-4d2d-9fd2-1c518a9fb0e8 ro
initrd /boot/initrd.img-2.6.32-5-686
*2 see below
---------------

more info: (and questions :-))

*1: I also tried with root=(hd0,0) en (hd0,msdos)but it gives the same unwanted result)
*2: I also tried with:
title Debian GNU/Linux, kernel 2.6.32-5-686
kernel (hd0,0)/boot/vmlinuz-2.6.32-5 root=/dev/hda0 ro
initrd (hd0,0)/boot/initrd.img-2.6.32-5
but that didn t work either..

** I have grub-legacy GRand Unified Bootloader (Legacy version) installed and NOT grub2 because I dont know anything about it. so I dont have an grub.cfg

Last edited by drum159; 03-03-2011 at 05:59 AM.
 
Old 06-20-2011, 08:40 PM   #2
yanom
Member
 
Registered: Apr 2011
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 2
have you got your USB stick pluged into a USB 3.0 port? Linux has trouble booting from such ports, you should try using a USB 2.0 port.

You can usually tell which port is which by the coloring - USB 3.0 ports usually have some blue coloring in them.
 
  


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
[SOLVED] USB boot stick won't WilliamS Slackware - Installation 14 03-01-2011 02:59 PM
[SOLVED] Slackware 13.1 will only boot if i used a usb boot stick dwclark84 Slackware 4 02-12-2011 06:26 PM
how to boot from a usb stick? rixtr66 Linux - Newbie 2 08-18-2008 08:06 PM
Boot from USB stick if no booting USB in Bios 1kyle SUSE / openSUSE 1 03-26-2007 12:24 AM
USB Stick boot KrYpToN Linux - Hardware 5 10-08-2003 08:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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