Berkeley CSUA MOTD:Entry 35627
Berkeley CSUA MOTD
2017/09/25 [General] UID:1000 Activity:popular

2005/1/9-10 [Computer] UID:35627 Activity:nil
1/9     Where can one buy a 128MB USB 1.1 stick?
        My epia 5000 doesn't seem to boot from my USB 2.0 drive.
        "To increase your chances, a stick which complies to USB 1.1 and not
        USB 2.0 is recommended, since there seem to be some BIOSes out
        there which cannot boot from USB 2.0 media."
        \_ why don't you order one online. they're kinda cheap now.
           \_ Where? I'd like to, but all I can find are USB2.0.
2017/09/25 [General] UID:1000 Activity:popular

You may also be interested in these entries...
2013/12/21-2014/2/5 [Computer/SW] UID:54759 Activity:nil
12/21   I was laid off and started filing for EDD for my weekly pay.
        I just got a job. Is there a form I need to file, or do I just
        stop filing out EDD to get my weekly pay? As a side note, how
        do they actually know I am working or not?
        \_ You just stop filing and they stop paying; you don't need to do
           anything else.  I don't know the internals of how they do things,
2013/12/28 [Computer/SW/Security] UID:54760 Activity:nil
12/28   Happy holidays everyone.
        For some reason my work's ip address gets logged in /etc/hosts.deny and\
I cannot ssh in anymore from work
        (except from home where I can ssh in fine): anyone knows if this file is\
 auto-generated due to some event? Thanks
2013/3/24-5/18 [Computer/SW/Unix] UID:54638 Activity:nil
3/24    How are people transferring large files to one other person these days?
        When I need to send some videos to my parents, I upload them to
        my SpiderOak account, but they don't have anything like that,
        so I'm not sure how to get videos from them.  Does DropBox do this
        for free?
        \_ DropBox +
2013/4/9-5/18 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Apps, Computer/SW/Languages/Perl] UID:54650 Activity:nil
4/04    Is there a good way to diff 2 files that consist of columns of
        floating point numbers, such that it only tells me if there's a
        difference if the numbers on a given line differ by at least a given
        ratio?  Say, 1%?
        \_ Use Excel.
           1. Open foo.txt in Excel.  It should convert all numbers to cells in
2012/12/18-2013/1/24 [Computer/SW/Languages/Perl] UID:54561 Activity:nil
12/18   Happy 25th birthday Perl, and FUCK YOU Larry Wall for fucking up
        the computer science formalism that sets back compilers development
        back for at least a decade:
        \_ I tried to learn Perl but was scared away by it.  Maybe scripting
           lanauages have to be like that in order to work well?
2012/8/30-11/7 [Computer/SW/Unix, Computer/SW/Apps] UID:54470 Activity:nil
8/30    Is wall just dead? The wallall command dies for me, muttering
        something about /var/wall/ttys not existing.
        \_ its seen a great drop in usage, though it seems mostly functional.
        \_ Couldn't open wall log!: Bad file descriptor
           Could not open wall subscription directory /var/wall/ttys: No such file or directory
Cache (6565 bytes)
I want to thank everyone who sent me hints and corrections to this page. Many Debian boxes need their floppy and/or CD-ROM drives only for setting up the system and for rescue purposes. If you operate some servers, you will probably already have thought about omitting those drives and usin g an USB memory stick for installing and (when necessary) for recovering the system. This is also useful for small systems which have no room fo r unnecessary drives. Prerequisites This document applies only to Debian Sarge on the i386 architecture. For a successful installation on such a system, you will need: * A mainboard with a USB connector * A BIOS capable of booting from a USB memory stick (the corresponding item on the BIOS setup screen is usually called "Boot from USB-ZIP" or sometimes "Boot from removable disk"). To increase your chances, a stick which complies to USB 11 and not USB 20 is recommended, since there seem to be some BIOSes out there which cannot boot from USB 20 media. In most cases, a network interface and a connection to a Debian mirror will be used. Of course, you can also use a Debian CD-ROM (set) or its image on any local drive instead. ma in/installer-i386/current/images directory of the Debian distribution. T here you will find some subdirectories for different boot media. If you want to use the USB stick only for booting and then to fetch the package s of the base system over the network (from a Debian mirror), you should change to the netboot directory. If you want to install the base system from a Debian ISO image contained on the USB stick, then choose the hd- media directory. Preparing the stick For preparing the USB stick you will need a system where Linux is already running and where USB is supported. You should assure that the usb-stor age kernel module is loaded (modprobe usb-storage) and try to find out w hich SCSI device the USB stick has been mapped to (in this example /dev/ sda is used). To write to your stick, you will probably have to turn off its write protection switch. In order to start the kernel after booting from the USB stick, we will pu t a boot loader on the stick. SYSLINUX, since it uses a FAT16 partit ion and can be reconfigured by just editing a text file. Any operating s ystem which supports the FAT file system can be used to make changes to the configuration of the boot loader. Since most USB sticks come pre-con figured with a single FAT16 partition, you probably won't have to repart ition or reformat the stick. If you have to repartition it anyway, start cfdisk or any other partitioning tool and create a FAT16 partition. Copying the files - the easy way There is an all-in-one file which contains all the installer files (inclu ding the kernel) as well as SYSLINUX and its configuration file. gz >/dev/sda1 Again, take care that you use the correct device name for your USB stick. Partitionless installation: Instead of /dev/sda1 you may also use /dev/sd a as your target. This leaves your stick without a partition table so th at it will contain only the file system. The advantage of this method is that you don't have to rely on the existing (and possibly buggy) master boot record (MBR) of your USB stick. But be aware that you won't be abl e to access your stick using some third-party operating systems. Copying the files - the more flexible way If you like more flexibility or just want to know what's going on, you sh ould use the following method to put the files on your stick: Unless you have already a FAT16 file system on your stick, use mkdosfs /dev/sda1 to create one. Take care that you use the correct device name for your US B stick. The mkdosfs command is contained in the dosfstools Debian packa ge. To put SYSLINUX onto the partition, install the syslinux and mtools packa ges on your system, and type syslinux /dev/sda1 Again, take care that you use the correct device name. The partition must not be mounted when starting SYSLINUX. Note: Although the Debian syslinux package does not officially depend on mtools, it definitely needs mtools to write to the FAT file system. gz ramdisk_size=10240 root=/dev/rd/0 devfs=mount,dall rw DEBCONF_PRIORITY=medium The DEBCONF_PRIORITY=medium lets the installer ask some additional questi ons which might be useful, but you may of course leave this option out. Now you may put any Debian ISO image (businesscard, netinst or even a ful l one) onto your stick (if it fits). If you want to install over the network, you will of cou rse skip this step. Finally the directory listing of the USB stick could look somewhat like t his: drwxr-xr-x 2 root root 16384 Jan 1 1970 . cfg -rwxr-xr-x 1 root root 769886 Nov 10 14:16 vmlinuz When you are done, unmount the USB memory stick (umount /mnt) and activat e its write protection switch. Booting Now connect the USB stick to the target system, boot it, enter the BIOS s etup program and change the boot device to USB-ZIP. If everything works, SYSLINUX will load the kernel and the initial ramdisk, and the Debian i nstaller will start. Troubleshooting If your system refuses to boot from the USB stick, the stick may contain an invalid master boot record (MBR). To fix this, use the install-mbr co mmand from the package "mbr" (thanks for this tip to Marco d'Itri). net/): I report to make a USB Stick work on a K7VMM Mainboard. The Feature Setup in BIOS -Setup allows you to To enable/disable USB at all but also to enable "US B Device Legacy Support" and support for a "ThumbDrive Suppor for DOS". I guess that there are some BIOSes out, which have similar features, so Keep you eyes open! Another hint I want to give is that with many BIOSes you may press F8 sho rtly after POST (Power On Self Test, this is what "beeps" several times if your hardware is corrupt) to get in some kind of boot-menu, which let s you choose your preferred boot drive. If you don't get it there somet hing is wrong with your hardware. If you are able to choose the device, but it doesn't boot, there is probably something wrong with the boot loa der. Please check twice if you /dev/sdX device holds all neccessary file s: syslinux, initrd, vmlinuz. So I copied initrd and vmlinuz from the netboot directory onto /dev/sdX. Adrian Bader: I have a MSI K8T-Neo Mainboard (for AMD64) with via K8T800 chipset and it works properly. It is important to enable these three things: USB in general (which is us ually the case), "boot from other devices" and "USB Legacy Support" for "all Devices". Then we can press F11 during the bootup, which pops up th e table to select the prefered boot device.