LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-07-2009, 08:02 AM   #1
CheatCat
LQ Newbie
 
Registered: Jul 2007
Location: Sweden
Distribution: None, yet..
Posts: 15

Rep: Reputation: 0
Smile Errors when trying to run Debian from a USB disk


Hello!
I tried to follow this tutorial: http://h0bbel.p0ggel.org/installing-...om-a-usb-stick and download this file: http://cdimage.debian.org/debian-cd/...86-netinst.iso and put it onto a USB after the dd thing.

Then I reboot, get an nice boot screen, press return key and get this "error":
Your CPU does not support long mode. Use a 32bit distribution.
Whaat?! Isn't the i386 thing a 32bit distro? This make me really confused.

I have also tried UNetBootin without any success, it ask for a CD when I have the Debian stuff on a USB disk! :P

What I am want is to copy the Debian installtion files to a USB. On Windows.

Last edited by CheatCat; 11-08-2009 at 04:10 PM.
 
Old 11-07-2009, 08:07 AM   #2
ammorais
Member
 
Registered: Nov 2009
Location: Lisbon, Portugal
Distribution: Gentoo, CentOs, Ubuntu, Debian
Posts: 182

Rep: Reputation: 49
Code:
Whaat?! Isn't the i386 thing a 32bit distro? This make me really confused.
You are right.
Are you sure you downloaded the i386 image. Long mode referrers only to 64 bit capable processor.
 
Old 11-07-2009, 08:26 AM   #3
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
Ummm, you need to get the x86 32bit version as ammorais said..

Unetbootin must have a iso image to install to USB

you can get debian live cd or usb images, as you know
http://cdimage.debian.org/cdimage/re...ent-live/i386/

the i386 versions are what you need.

Debian Live can also run persistent from USB
which I assume is what you want?

that way, at each reboot/startup, your settings, apps added etc are retained


I made a wonderful Debian Live remaster featuring many many apps
and included info on persistent cd/usb/hd install
and also include 2 persistent "files"
1 is 250MB, other 500MB
check it out if you like
http://www.linuxquestions.org/questi...on-gas-766098/

I also made the above so you can make your own cut via remastersys and I made it so its easy to install
to USB from iso without using dd.
 
Old 11-07-2009, 03:55 PM   #4
CheatCat
LQ Newbie
 
Registered: Jul 2007
Location: Sweden
Distribution: None, yet..
Posts: 15

Original Poster
Rep: Reputation: 0
No, I don't want to run a live distro on a USB drive. I just wanna put it on an USB drive and the reboot and install it on a hdd. But maybe I can do that with LiveCD too? And then I like to have only the important Debian files and then build my system "from scratch" and customize as I want. It sounds so fun to do that!

And see, I have the i386 iso on the usb! x3
ihavethei386iso.png

Last edited by CheatCat; 11-07-2009 at 04:07 PM.
 
Old 11-07-2009, 04:10 PM   #5
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
OK
I see in the pic you got the netinstall iso on USB and you have
also installed the debian live kernel/initrd's in order to use/mount
the netinstall iso?

when you boot off usb what happens?
does the installer start?

Yes, you can download a Debian Live CD iso image
and it will have the installer too
http://cdimage.debian.org/cdimage/re...e/i386/iso-cd/
 
Old 11-08-2009, 09:14 AM   #6
CheatCat
LQ Newbie
 
Registered: Jul 2007
Location: Sweden
Distribution: None, yet..
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by linus72 View Post
and you have
also installed the debian live kernel/initrd's in order to use/mount
the netinstall iso?
Installed what?? :S

Quote:
Originally Posted by linus72 View Post
when you boot off usb what happens?
does the installer start?
Noo, I came to the boot screen with the debian logo. There is a text reads "boot: " and I press enter and get the long boot error message..

Now I maybe understand.. The boot.img file! I download it from http://ftp.nl.debian.org/debian/dist...ages/hd-media/ It is only for amd64, right?

Last edited by CheatCat; 11-08-2009 at 09:25 AM.
 
Old 11-08-2009, 09:32 AM   #7
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
If you wanna make it much easier...

try using netbootcd-3.1.2 off usb
get the netbootcd iso
http://netbootcd.tuxfamily.org/

extract the iso to your usb
do you know how to do that?
assuming you do

syslinux.cfg entry for netbootcd
assuming everything is in /syslinux folder

Code:
label nbcd
menu label NetbootCD
kernel /syslinux/kexec.bzI
append /syslinux/nbinit3.gz quiet base norestore nolocal waitusb=5
netbootcd rocks on easy net-installs
 
Old 11-08-2009, 11:18 AM   #8
CheatCat
LQ Newbie
 
Registered: Jul 2007
Location: Sweden
Distribution: None, yet..
Posts: 15

Original Poster
Rep: Reputation: 0
Thank you, but I fixed it but using dd of a boot.img for i386! B)
But problems are not ending here, I will continue in this thread: http://www.linuxquestions.org/questi.../#post37492190
 
  


Reply

Tags
32bit, dd, debian, i386, scratch, unetbootin, usb, windows


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
Member's of LQ that run Debian Live from usb? linus72 Debian 26 08-04-2009 03:44 PM
Usb disk debian 4 sigma_50 Linux - Hardware 1 08-22-2008 09:11 AM
Boot Debian Form External USB Hard Disk Problem shogun1234 Debian 0 08-15-2006 11:54 PM
HP Deskjet 5550 (usb) - HPLIP can't run in Debian sarge ch_music Linux - Hardware 4 02-12-2005 09:57 PM
usb disk on Debian eaglegst Linux - Hardware 6 12-03-2003 06:56 AM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration