Berkeley CSUA MOTD:Entry 33005
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/24 [General] UID:1000 Activity:popular
5/24    

2004/8/19 [Computer/HW/Drives, Computer/HW/Memory] UID:33005 Activity:moderate 77%like:33018
8/18    Anyone have any experience getting a bootable .iso onto a USB
        memory key (yes, it is bootable and has enough space).  -John
        \_ I just did this recently.  I haven't found a way to get a .iso
           directly on, but here's what I did:
           1) Format the USB storage
           2) use mkbt to get the boot sector from the .iso and then put it on
              the USB storage.  (Get mkbt at: http://www.nu2.nu/mkbt
           3) copy files from .iso to memory key
           I used daemon-tools to mount the .iso to rip the boot sector.
           Oh, and if you want to use Ghost's boot disk creator, you can use a
           virtual floppy drive so you don't have to use a physical floppy:
           http://chitchat.at.infoseek.co.jp/vmware/vfd.html
           \_ There's not even a readme for this. What exactly does it do?
              \_ Readme for which?  vfd is a virtual floppy.  Install it and
                 you've got a virtual floppy drive.  mkbt extracts boot sectors
                 and writes them.
           \_ Oh, and this is where I got most of my help on this:
              http://www.weethet.nl/english/hardware_bootfromusbstick.php
                \_ Many thanks, swami.  *bows*  -John
2025/05/24 [General] UID:1000 Activity:popular
5/24    

You may also be interested in these entries...
2012/1/4-2/6 [Computer/HW/Drives] UID:54281 Activity:nil
1/4     I want to test how my servers behave during a disk failure and
        a RAID reconstruction so I want to simulate a hardware failure.
        How can I do this in Linux without having to physically pull
        a drive? These disks are behind a RAID card and run Linux. -ausman
        \_ According to the Linux RAID wiki, you might be able to use mdadm
           to do this with something like the following:
	...
2011/9/14-10/25 [Computer/HW/Drives] UID:54173 Activity:nil
9/13    Thanks to Jordan, our disk server is no longer virtualized. Our long
        nightmare of poor IO performance should hopefully be over. Prepare for
        another long nightmare of poor hardware reliability!
        ...
        Just kidding! (I hope)
        In any case, this means that cooler was taken out back and shot, and
	...
2011/2/14-4/20 [Computer/SW/Unix] UID:54039 Activity:nil
2/14    You sure soda isn't running windows in disguise?  It would explain the
        uptimes.
        \_ hardly, My winbox stays up longer.
        \_ Nobody cares about uptime anymore brother, that's what web2.0 has
           taught us.  Everything is "stateless".
           \_ You;d think gamers would care more about uptime.
	...
2011/2/18-4/20 [Computer/SW/Unix] UID:54044 Activity:nil
2/18    Why does the system seem so sluggish lately?
        \_ Slow NFS is basically always the answer. --toulouse
        \_ Any truth to the rumor that soda will be decommissioned this summer?
           \_ Absolutely none. Soda might go down temporarily while disks are
              reorganized and stuff so soda doesn't suffer from such shitty
              performance nearly as much, but no, we've gotta maintain NFS and
	...
2010/7/22-8/9 [Computer/SW/OS/FreeBSD, Computer/HW/Drives] UID:53893 Activity:nil
7/22    Playing with dd if=/dev/random of=/dev/<disk> on linux and bsd:
        2 questions, on linux when <disk>==hda it always gives me this off
        by one report i.e. Records out == records in-1 and says there is an
        error. Has anyone else seen this?  Second, when trying to repeat this
        on bsd, <disk>==rwd0 now, to my surprise, using the install disk and
        selecting (S)hell, when I try to dd a 40 gig disk it says "409 records
	...
2009/10/27-11/3 [Computer/HW/Drives] UID:53474 Activity:nil
10/27   I just read an article that Facebook had moved their database
        to all SSD to speed throughput, but now I can't find it. Has
        anyone else seen this? Any experience with doing this? -ausman
        \_ I hope you're not running mission critical data:
           http://ask.slashdot.org/story/09/10/27/1559248/Reliability-of-PC-Flash-SSDs?from=rss
        \_ Do you have any idea how much storage space is used by Facebook,
	...
2009/8/4-13 [Computer/SW/OS/Windows] UID:53239 Activity:kinda low
8/3     VMWare + Windows XP + Validation question. I need to test stuff with
        Service Pack 3 installed. I have a valid key that I own (yeah yeah I
        actually *bought* a copy, please don't flame me for supporting evil
        M$). Is it possible to register the key once, and then duplicate it
        for testing purposes?  Will Windows or Microsoft detect copies and
        disable the rest the copies?
	...
2009/7/28-8/6 [Computer/HW/Drives] UID:53216 Activity:nil
7/28    Does it make sense to defragment disks on VMWare? My 80GB disk
        on VMWare isn't really using 80GB, it just uses what it needs.
        Will defragment do anything to it?
        \_ If you want to speed up disk operation in your VM, it's best to
           defragment the disks in your VM, then defragment the disk on your
           host machine where the VM files are.
	...
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 +
	...
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:
        http://techcrunch.com/2012/12/18/print-happy-25th-birthday-perl
        \_ 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/2/5-3/26 [Computer/SW/WWW/Browsers] UID:54300 Activity:nil
2/5     How is Firefox on version 10, while I still have 3.6 installed.
        I wait for the X.1 versions and they never come out.
        \_ I'm also on 3.6.26.  It claims that versions 4 - 10 are all faster
           than 3.6.x, but do they use more memory?  Thx.
           \_ Newer Firefox versions use less memory too:
              http://www.maximumpc.com/article/news/mozillas_memshrink_program_brings_big_memory_savings_firefox_7
	...
2011/6/5-8/27 [Computer/HW/Memory] UID:54127 Activity:nil
6/5     In an effort to stabilize our services, we'll be rebuilding parts of
        the CSUA infrastructure over the course of this summer.  To give us
        some wiggle room, I've temporarily decreased soda's allocated RAM from
        8GB to 2GB.  If you need to run something that requires large amounts
        of memory, please send mail to root@csua.org and we'll try to
        accommodate your request.  --jordan
	...
2011/3/26-4/20 [Computer/HW/Memory] UID:54062 Activity:nil
3/19    When you're explaining the stack to people do you draw it with the
        highest addresses at the top or at the bottom?
        \_ When I explain any memory layout including stacks, I draw with the
           highest addresses at the bottom.  But I've seen people doing the
           other way.  -- yuen
           \_ do you by any chance have seen or have a jpg of the full memory
	...
2010/7/25-8/25 [Computer/SW/Graphics] UID:53897 Activity:nil
7/25    What's up with that moving bit pattern that Win7 displays when it
        boots up?  (It's the one that's like in the Apple II days when you
        use the graphics memory for code or data while it's still in HGR
        mode.)  Is there a way to disable that?  It slows things down a lot
        every time I reboot my Win7 VM on my office machine if I RDP to the
        machine via DSL.  Thanks in advance.
	...
2010/5/26-6/30 [Computer/SW/Unix/WindowManager, Computer/SW/OS/OsX] UID:53844 Activity:nil
5/26    anyone use lxde?  supposedly it is less stupid than xfce and
        less bloated than gnome.  thoughts?
        \_ lol, does anyone still use desktop linux?  Get with the times
           buy a mac.  Now.  DO IT.  Go NOW.
           \_ but we prefer herring to Kool-Aid
              \_ "you have to yell, he's hard of herring"
	...
2010/6/4-30 [Computer/SW/Languages/C_Cplusplus] UID:53849 Activity:nil
6/4     Is this valid C++ code?
        std::string getStr(void) {
            std::string str("foo");
            return str;
        }
        void foo(char *s);
	...
2009/12/7-2010/1/3 [Computer/HW/Memory, Computer/HW] UID:53574 Activity:nil
12/7    How many TCP retransmits are too many? Here is what I get:
            3594143433 segments received
            3760174421 segments send out
            3801829561 segments retransmited
        \_ rephrase. you can never have too much money. or too little.
           what is, is.
	...
Cache (392 bytes)
www.nu2.nu/mkbt -> www.nu2.nu/mkbt/
Unique things about MKBT are: * It supports transferring a bootsector to floppy images. This allows you to create a bootable 288MB floppy image without needing a 288MB floppy drive. How to build a bootable floppy You can use any Dos version, any Dos supported floppy disk size to build your bootable floppy. bat takes one parameter, that is the directory where the Dos bootfiles can be found.
Cache (1402 bytes)
chitchat.at.infoseek.co.jp/vmware/vfd.html
VMware's Back > Virtual Floppy Driver Virtual Floppy Driver This is a virtual floppy disk driver for Windows NT / 2000 / XP. You can mount a floppy image file as a virtual floppy drive and directly access the contents -- view, edit, rename, delete or create files, format the virtual floppy, launch a program on the virtual floppy... TOP Version 20 beta preview I've been working on this new version of the VFD for some time and have managed to put together the device driver, the command line utility and the brand new shell extension by now. However it seems I won't be able to have enough time to get the GUI program finished for at least a few months from now. So I decided to publish the current kind-of-working stuff as a beta preview. Changes are not written back to the image file (discarded on close). IMZ) support (RAM disk mode only) * Formatting virtual media New images created with VFD are pre-formatted. Enables to format virtual media when Windows' format doesn't work. The same drive letter is assigned the next time the driver starts. Drag-and-drop an image file with the right button to the virtual drive icon to open it. dll (driver control and shell extension library) CAUTION! No document is available for now - not even a readme file. I hope VFD HELP would provide enough information to use them. Also please write to me if you are interested in (unfinished, untidy) source code.
Cache (4511 bytes)
www.weethet.nl/english/hardware_bootfromusbstick.php
USB - Universal Serial Bus - is a standard for connecting additional equipment to your computer, like printers, scanners, webcam's, digital camera's, keyboards, mouse, harddisks, etc. One of these devices is the Thumbdrive, keychange disk, USB pen, etc however you want to call them. Meer en meer PC's staan het toe van een dergelijke thumbdrive te starten. In dit artikel focussen we dus op een dergelijke thumbdrive. We willen deze drive voorbereiden vanuit iedere gewenste Windows versie (Ik deed het met Windows XP), dmv MKBT. Tip: niet alle PC's zijn instaat van een USB disk te starten. Kijk of jouw PC dit kan door te kijken welke BIOS instellingen beschikbaar zijn. USB - How to make a USB BootDisk Step 1: Getting some bootsectors To be able to boot rom a device we need so called bootsectors. The simple explanation is this: When the PC starts, the BIOS will scan the indicated storage devices and look for these bootsectors. They contain information for the BIOS to be able to start from this device. Bootsectors can be found on all bootable media (harddisk, floopy disk, CDRom, etc). In all current Windows versions (including Windows 2000 and XP) we can do that by formatting a floppy disk. A window appears with some option: Check the option "Create an MS-DOS startup disk". Once you're sure about the drive, click the "Start" button - Windows will now format the disk and make it bootable. Open a DOS Window and go to the directory where you extracted MKBT. bin * Copy bootsector mode (-c) D:\Downloads\mkbt20> Note: Here "a:" represents the drive that holds the newly made bootable floppy! Do not close this DOS window yet, we will need it again in step 3! Option 2 - Using images of bootable floppies On the Internet you can find a lot of bootable disks. You will find plenty of floppy disk images and tools to write these images to floppy disk. Most of these disks are specialized, for example direct network access, packed with handy tools, etc. Follow the instructions there on how to make a bootable floppy. BAT files refer to the A: drive directly - this CAN cause problems during boot! So if you used the option where we created a bootable floppy in Windows, the format the thumbdrive using FAT or FAT16. You can try NTFS or FAT32, but I have to say that both faioled on the thumbdrives I tried. Open a DOS Window and go to the directory where you extracted MKBT (if you haven't done so in step 1, or in case you closed the DOS window in step 1). So if your thumbdrive has another drive letter, then change the "G" accordingly! Once the command prompt returns, you will have a bootsector on your thumbdrive. Step 4: Copy files to the thumbdrive Once the drive is bootable, it would be nice to have some essential files on it, for the computer to make sense. Copy all the files of the A: drive (from Step 1, either option 1 or 2) to the thumbdrive. Naturally the boot floppy used to extract the bootsectors from should be in that A: drive. SYS file, you might want to check if it uses absolute paths (ie. Any reference directly to the A: drive might cause issues during boot! Step 5: Restart and go into the BIOS Now shutdown/restart your PC and go into the BIOS. Entering the BIOS is commonly done by pressing the "Del" button on your keyboard. Your PC's BIOS might even require a different key to be pressed. to enter Setup" to indicate that you need to press the "Del" key. Note: Some laptops allow you to set the boot devices using a Windows application. Toshiba for example does this with some of their laptops. The application is either a standalone application or a applet in the Control Panel. Step 6: BIOS settings Depending on the BIOS of your computer, you can set the USB stick as a boot device. If your PC's BIOS does not seem to support this, check if there is an update for the available BIOS! Your milage may vary :-) For some reason most BIOS'es prefer to refer to the thumbdrive as a USB Removable Floppy Disk or USB Zip Disk. This goes for the 2nd, 3rd etc, but also for so called "Alternative boot devices". "Enable" these options: "USB Function Support", "USB Function For DOS" and "ThumbDrive for DOS". Reboot the PC and it now should boot from the Thumbdrive. Go to the "Boot Menu" and set the "1st boot device" to "USB-Stick". If this does not seem to work, then you can try (it sometimes seems to work) setting the "Emulation Type" value to "Floppy" or "Forced FDD". Reboot the PC (Exit the BIOS saving the changes) and see if it wants to boot from the thumbdrive.