Hot answers tagged live-usb
16
The shell will open the device /dev/sdX. All output of the cat command, which ends up being the contents of debian.iso, is written directly to that device.
The end result is that debian.iso is written byte-for-byte to the start of the disk underlying /dev/sdX.
In effect, the device node makes it appear that the low-level contents of your storage medium ...
7
There isn't such thing as "standard Linux". For learning (what do you want to learn, specifically?), a minimal install of Slackware should do.
You can easily build a kernel that boots, but it will be useless without userspace applications (e.g. shell and utilities).
If you want to build your own system from scratch, check Linux from Scratch.
Linux From ...
6
Assuming you are on nix and the distro you are interested in is oneiric ozelot or above then the following should work
sudo dd if=<isofile> of=/dev/sd<USBSTICK> oflag=direct bs=1048576
Please be triple careful with the argument to of. dd will NOT check if it's sensible/mounted/empty/..., it will just write. If you happen to specify your root ...
5
I resolved the problem myself:
On a thread about live usb boot I found the hint that helped solving this:
The USB-stick written with the downloaded original image with dd is mounted.
Do this on any version of any *BSD system (need BSD because it needs UFS filesystem mount capability) Mac OSX would also do BTW.
# mount /dev/da0a /mnt
Then the following ...
4
Slackware should do.
And to be honest - there is no "standard" linux.
You define your standard afer you defined what you need to do with it and what to expect from it.
The low-level (plug and play, device-naming, network configuration, system configuration, detection of network services, hardening) is quite different on different linux distributions. Even ...
4
You might try looking at a BSD distribution. If you are mainly interested in having a look at how Unix works than the BSDs are nice and clean in my opinion, especially the so called base system, which you sound like you are interested in is clearly separated from the applications etc. I recommend FreeBSD, because, once you've had a look around, you may ...
4
I can have multiple driver configurations for every computer I plug
it into and the correct driver set can be autodetected. Is there a way
to do this with a Linux distro?
A normal linux distro with a generic modular kernel already does this. Last time I checked, an out-of-the-box linux live CD would run on any x86 computer I had access to try it on ...
3
Introduction
The bootloader consist in a tiny part at the very beginning of the drive (the stage 1 bootloader, in the boot sector of the drive) and a larger part elsewhere (the stage 2 bootloader, in a file). The stage 1 data contains the physical location of stage 2. If you copy the whole device (what you tried with dd), the stage 1 part is in the same ...
3
There are only two versions of grub listed there, the 1x series (most recent being 0.97) and the 2x series (most recent being 1.99). Both can be customized and used for your purpose. The 1x series has more standard compatibility with old hardware and distros, but we the 2x series is coming along nicly and many major distros are switching to it. 32bit vs 64 ...
3
Most “live CD” distributions can be installed on a pen drive instead of a CD. Then you can use the rest of the pen drive (if it's large enough) as storage. For example, for Ubuntu, prepare a “live CD” on a USB pen drive. The pen drive creator utility will let you choose how much space to devote to storage.
Alternatively, just do a normal installation that ...
3
If I understand correctly, you are using a live disk. Without mounting any harddrives (which is the default behavior on most live disks) everything you do is actaully just in memory (the whole directory structure you see is loaded from the disk when you've booted) and will be gone after a reboot. You can't write on the disk itself by default.
3
You need to install an EFI bootloader to the USB drive; elilo is what I've used before, but you could potentially use GRUB2. The Ubuntu amd64 elilo package installs the 64bit binary to /usr/lib/elilo/elilo.efi and the 32bit binary to /usr/lib32/elilo/elilo.efi.
EFI firmware will search removable media for a FAT32 filesystem containing the file ...
3
The LiveCD's are setup to specifically work with a read only system. When you copied the data via UNetBootin, it merely just made a copy, the only difference is the boot medium. The filesystem and the OS are still designed as if the medium is read-only, whether that is the case or not.
The feature you are looking for is called "Persistence" or "Live CD ...
2
From reading several sources, it appears that earlier PPC Macs could not boot from USB. Fortunately, it appears your Mac is recent enough it likely is capable. I have seen two methods of doing so:
Hold the Option (Alt) key while your machine is booting.
Plug in your USB stick (while the computer is on). In System Preferences, find the Startup Disk option, ...
2
As of today I have successfully installed this distribution and can use it as if it were Arch :) Below is the simplest way to do so:
Install Arch on the hard drive
Remove everything in / (in the local disk), except for /boot
Mount the root-image.sqfs image in the linuX-gamers live DVD and copy everything inside to /
Repeat the previous step with the ...
2
I happen to like Mint as a base for a LiveUSB along with changes that I applied to the iso using Remastersys. This allows me to add additional packages along with patching the system to have all the latest fixes. I tend to remaster the iso every couple of weeks so I have a very up to date version that I keep with me. This is very useful so I can visit ...
2
There is a guide to do exactly this on this question:
http://unix.stackexchange.com/questions/665/installing-grub-2-on-a-usb-flash-drive
as the first answer. It answers it perfectly (assuming that I know what you are asking) and allows you to have multiple isos on a usb stick, by installing grub.
2
What you are looking for is pclinuxos, it has a live usb installer on the live cd menu. Once installed to usb and booted it offers a menu for either live boot or live with persistence.
My install of the 2009 was what you desire... I am just testing the 2011 offering but it has a difference in that it boots live by default rather than persistence which is ...
2
I did it like this:
$ wget http://archive.ubuntu.com/ubuntu/dists/karmic/main/\
installer-i386/current/images/netboot/boot.img.gz
Or to choose current Ubuntu Natty and amd64 architecture:
$ wget http://archive.ubuntu.com/ubuntu/dists/natty/main/\
installer-amd64/current/images/netboot/boot.img.gz
# zcat boot.img.gz > /dev/sdc
# eject /dev/sdc
On an ...
2
No.
I don't know about USB boot, but some time ago I booted a G4 into a firewire attached system.
No.
In the past I found it relatively convenient to network boot from the Openfirmware shell (G3/G4/PreP). I mean, network boot would be an alternative to CD or USB-booting.
2
These easiest way is with a loopback device. Make a file the size of your USB stick, then use losetup to map it to a loop device. Then the loop device is a block device, so it acts exactly like a USB stick would.
The only exception is partitioning. But you can fix that by a few more losetup calls to map your partitions to other loop devices with the offset ...
2
The devices listed under /dev/ are devices the Linux kernel finds and makes available to the system. You won't be able to change how this listing comes up without really hacking the kernel.
But there is good news, you don't have to. When you boot off of the USB stick, the kernel is running in RAM and enumerates the devices as it finds them. This is not a ...
2
While "work on any computer" is a bit too broad, it is possible to build and configure a system so that it works on as many hardware configurations as possible — after all, that's what projects such as Knoppix try to do, have a kernel with lots of modules available and run clever startup scripts that try to tweak the configuration during the boot process.
...
2
I would do it like this (assuming that sdb is your stick):
Delete any previous partition table:
# dd if=/dev/zero of=/dev/sdb bs=512 count=1
Create the new ones:
# fdisk /dev/sdb
> n
> p
> 1
(+1GB)
> a
> 1
(toggles boot flag)
> t
> c
(filesystem type)
> n
> p
> 2
(defaults)
> t
(specify 2nd partition)
> c
(filesystem ...
2
Basically these are two questions.
You can install any distribution onto a USB-drive or stick. 8 GB should be enough.
If you want to be able to access files from Windows, then Windows has to be able to mount the linux-partitions. A "solution" might be to install Linux on VFAT/NTFS/...
But: I see no reason to do so. Use a separate partition formatted with ...
2
Some time ago I bought HP Compaq t5000 Thin Client (t5710 model (it was really cheap (about $100) on some auction portal)) and it is great for my needs. I'm using it as:
VPN server
ssh server for accessing my home network
wake on lan for other devices
from time to time as webserver
battery charger for my mobile.. ;)
CPU:
pbm@lantea:~$ cat /proc/cpuinfo
...
2
Depending on what you are teaching them -- you might want to at least peek at this:
http://bellard.org/jslinux/
It is, literally, Linux-in-the-browser. No software to install. Nothing saved. No chance of screwing anything up.
If you don't know the name, Bellard a long history of writing various emulators and compilers. This is a legit thing.
2
I'm sorry but there is no 'standard linux' existed. The Linux system is assembled by the kernel and userspace tools. The Linux kernel can did nothing without the corresponding userspace tools -- kernel just providing functions allow userspace application to call.
Distributions packed the kernel with some selected userspace tools. Each distribution prefer ...
1
Many BIOSes treat USB drives as “HDD” if they have a partition table and “Removable” if they don't. This isn't something you can change short of flashing a different BIOS altogether (rarely an option).
Most BIOSes let you choose the order of available “HDD” devices in a separate screen. Some let you press a key at boot time to select the HDD. If these ...
1
Install Grub2 on USB drive (replace /USBDRIVE and /dev/sdx with the correct mount point and USB device)
sudo grub-install --boot-directory=/USBDRIVE/boot /dev/sdx
Create required directories
mkdir /USBDRIVE/iso
mkdir /USBDRIVE/boot/grub/scripts
Save this autoiso.cfg script in the /USBDRIVE/boot/grub/scripts directory
Create a grub.cfg file with the ...
Only top voted, non community-wiki answers of a minimum length are eligible
