Installing packages when booted from a Live CD

User avatar
John Gray
PlatinumLounger
Posts: 5401
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Installing packages when booted from a Live CD

Post by John Gray »

I am booting a Dell Open Manage Live CD, which has a variant of Linux on it.

1) I need to install the Wake-on-LAN package 'into memory'.
I am root.
I am told I need to do apt-get install ether-wake but this fails because it seems to be accessing the CD, and the package is not there.
How to get it to install from "the internet"?

2) I need to write debugging information to a file, presumably on a USB Flash drive, and the command I have been given is (in part) tcpdump -w test.pcap
Please could someone tell me what I need to do to enable this file to be written to a UFD?

3) I also have a Fedora 13 Live CD, which boots with liveuser as the username.
This is not root.
How can I change to become root? su --login apparently asks for the root password, but what would that be for a Live CD?

And they said Windows was hard work...!

Thanks!
John Gray

Venison is quiet deer, and quite dear.

User avatar
John Gray
PlatinumLounger
Posts: 5401
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Re: Installing packages when booted from a Live CD

Post by John Gray »

Well, I've found out how to do (3), via su -, but (2) is the one I really need!
John Gray

Venison is quiet deer, and quite dear.

perryl7822
NewLounger
Posts: 5
Joined: 07 Jan 2011, 02:57

Re: Installing packages when booted from a Live CD

Post by perryl7822 »

I didn't think that you could install packages when booting from the Live CD. This is really interesting.
However, when I am playing around with a new distribution, I usually use Virtual Box. That allows me to install and then I can delete the files when I am done. I like this approach much better than using a Live CD.
Perry L. "Linux Freak"
www.mnui.com