LinuxQuestions.org
Review your favorite Linux distribution.
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 08-04-2009, 06:09 AM   #1
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,059

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Member's of LQ that run Debian Live from usb?


Just wondering if anyone here runs deb live?

I am downloading the "standard" usb img
144mb http://cdimage.debian.org/cdimage/re.../i386/usb-hdd/
no x I would guess-yes?

I want a small deb live to remaster

is standard img a good choice?

anyone know?
 
Old 08-04-2009, 08:37 AM   #2
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Quote:
no x I would guess-yes?
i dont know

Quote:
is standard img a good choice?
of the one linked to its the smallest one.

you got more choices with live-helper (for example standard-X11, minimal, etc).

the easist way to put it on a stick would be creating a seperate partition (say in virtualbox) and install debian without desktop-environment on it.
then configure it the way you want it (as you say you need a small one:remove everything you dont want).
then instlall live-helper and run as root in a directory you want (say ~/usb_stick):
Code:
lh_config -b usb-hdd --bootstrap copy --debian-installer live
Code:
lh_build
and than put the image on the stick:
Code:
dd if=debian***.img of=$USBDRV
"--debian-installer live" adds the installer, if you dont need it, dont use it.

i put it on a stick with that method (-b usb-hdd)
and i created a copy of my system with that method ( --bootstrap)
i dont know if both methods work hand in hand, but see no problems right know.

the example images for live-helper are in /usr/share/live-helper/lists
i think an:
lh_config -b usb-hdd
lh_build
will give you a pretty small image for a stick too, but am not sure.

Last edited by j1alu; 08-04-2009 at 08:50 AM.
 
Old 08-04-2009, 09:53 AM   #3
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,059

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Thanks alot!

But, now I've installed on usb(fat32) and made the live-sn partition on usb and
did live-snapshot
so, now it's persistent console debian

BUT!
I tried as root, apt-get update
and says it can't resolve
http://server1/ftp/something

and I checked "ifup eth0"
and it said yep

and so what's wrong?
Help!
 
Old 08-04-2009, 10:09 AM   #4
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
What does ifconfig show?
 
Old 08-04-2009, 10:15 AM   #5
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,059

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
ifconfig lists eth0 and lo

too much to relay from console to here
so, what can I do?
 
Old 08-04-2009, 10:22 AM   #6
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
Here's the relevant section from mine:

Code:
Pc1:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:30:bd:ba:a5:aa  
          inet addr:192.168.0.3 Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::230:bdff:feba:a5aa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:36358 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33224 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:43461167 (41.4 MiB)  TX bytes:3702739 (3.5 MiB)
          Interrupt:18
Make sure you are getting an ip address assigned and a line saying 'up',as highlighted.
 
Old 08-04-2009, 10:42 AM   #7
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,059

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Yeah that's what it looks like
but mine also lists the loopback "lo"
and anothewr output like yours but for lo

all other debian live(with desktops) usb's
and all other distro's pick up eth0 auto

I wishj I knew what was wrong?

could it be the http address?

I'm using debian-live-501-i386-standard.img
 
Old 08-04-2009, 11:01 AM   #8
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
Can you ping www.google.com?
 
Old 08-04-2009, 11:03 AM   #9
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,059

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
A question too

Sometimes
when booting a live debian or ubutnu cd
the network thing is locked and it's set too the loopback setting
and I have to "unlock" the gui and then it lets me choose auto eth0

Problem is, there is no gui
no point and click

LOL
How would I change it from loopback to eth0?
 
Old 08-04-2009, 11:03 AM   #10
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,059

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
How do I do that
just enter "ping www.google.com"
 
Old 08-04-2009, 11:07 AM   #11
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
Quote:
Originally Posted by linus72 View Post
How do I do that
just enter "ping www.google.com"
Yes,just that.
Doesn't need root privileges.
 
Old 08-04-2009, 11:10 AM   #12
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
Quote:
How would I change it from loopback to eth0?
Have a look at /etc/network/interfaces and make sure the primary network interface is set to eth0.
I suspect it will be already.
 
Old 08-04-2009, 11:14 AM   #13
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,059

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
OK
ping worked
and to make sure
I did

wget http://multidistro.com/index.html

and that worked
and I did

ls

and it said

index.html

so, it must be the server address?

How would I do wget in reverse
that is send my apt/sources.list to website?

use console ftp?
 
Old 08-04-2009, 11:21 AM   #14
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
Ok,we now know your internet connection works.
As you were asking about updating can you post the output of /etc/apt/sources.list.

As regard to sending files from the cli to a website,can't say.Never tried.
I'm sure Mr Google will know!.
 
Old 08-04-2009, 11:24 AM   #15
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,059

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
LOL
how can I ppost the /etc/apt/sources.list from the Dark?

It might have links or w3m maybe
but I am sure that would be a adventure

OH, I'll cp the etc stuff to my hd
hold on....
 
  


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
Debian-501-live on usb/persistent BUG with fedora 11 ext4, is it fixable? linus72 Debian 0 07-23-2009 04:39 PM
S-B Live! usb on a debian machine opus Debian 4 10-26-2007 01:03 PM
persistence in debian live usb ciden Linux - Desktop 0 09-09-2007 12:18 PM
Debian etch live installation on USB Memory key. jaisuvyas Debian 1 07-19-2007 03:26 PM
about debian-live usb fitzov Debian 4 04-27-2007 03:34 PM


All times are GMT -5. The time now is 05:03 PM.

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