Berkeley CSUA MOTD:Entry 34853
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/11/23 [General] UID:1000 Activity:popular
11/23   

2004/11/12 [Computer/HW/Drives, Computer/SW/OS/Linux, Computer/SW/OS/Windows] UID:34853 Activity:moderate
11/12   Dual boot question:  I had a hard drive set up with dual boot.
        XP and Linux.  I had problems with the Windows partition.
        I got a new hard drive.  I connected the new hard drive and set it
        as the slave drive.  I went into setup and set it to boot from the
        slave drive (the new one).  I then reinstalled XP on the new drive.
        Oops.  My boot loader on the original drive got overwritten.  The
        Linux partition is still there, but I can't boot to Linux.  I need
        to resetup my dual boot.  I would like to have 2 options when I
        turn on my computer.  One option would boot to my Linux partition
        on my original hard disk (now set as the master).  The other option
        would be to boot to XP on the new hard disk (now set as the slave).
        I think I want to go into setup and have it boot from the master,
        and then use my Red Hat CD to resetup the boot loader.  But I'm
        not really sure what I'm doing and I don't want to screw things up.
        I don't want to reinstall Linux.  I simply want to fix the boot
        loader.  Please help!
        \_ You are already on the right track. You can boot either from
           the first install CD or you can use the .iso image for the emergency
           cd. It will guide you through mounting your existing RedHat
           partition. You can then use either grub or lilo to reinstall the
           bootblock on the master CD... but you will need to make changes
           to either your lilo.conf or grub.conf to tell it to book
           XP from the other drive now instead. Once you finish that, you can
           go back into the bios and tell it to boot from the primary hd again.
        \_ You should have installed XP first, then Linux. Windows loves
           to scribble over the boot partition of every disk it can find.
           Having said that, if you want to avoid having to reinstall
           Linux, you will need to boot from a linux boot floppy. At
           least, that was the only thing I could figure out to do
           when I was in your boat. Maybe one of these 3l33+3 linux
           hackers has a better way.
           \_ Well, I don't need to install Linux.  I only need to setup
              the boot loader.  Are you sure this is the same situation
              you were in?  Windows is installed on one drive.  Linux on
              another.  And I just want to modify the boot loader, not
              install anything.
              \_ When you installed Windows XP it overwrote the MBR on your
                 Linux drive, so no you don't really have Linux installed
                 right now. You have a partial linux installation, that you
                 need to repair. I don't know how to do that.
        \_ This is far too much spew for a simple question. Why do we need
           to see useless details about your disks and blah blah? Anyway
           just boot using the floppy and run the lilo tool or whatever.
        \_ The problem I've always had with dual-booting is that if one
           disk goes bad, it can be a real pain to get the other up in
           isolation. If you're using the Grub bootloader, I know you can
           install windows to drive 0, take it out, then put your linux
           drive in as 0 and install Linux. Then put the windows drive
           back in as drive 1.  You can then boot to Linux and set up grub
           such that when you boot to your windows drive, your windows
           drive is tricked into believeing it is drive 0.  This setup is
           a bit of work initially, but I've found it to be very robust.
           If you're interested, I can tell you how to set up grub.
           -jrleek (!Linux guru)
2024/11/23 [General] UID:1000 Activity:popular
11/23   

You may also be interested in these entries...
2001/10/2 [Computer/HW/Drives] UID:22624 Activity:nil
10/1    (Can someone please re-post any response?  I think I'll start running
        my own motd auto-archive from now on.)
        What's the minimum CPU requirement for Win98 (ignoring speed)?  I have
        a Pentium-something 133MHz machine that has been running Win95 fine.
        But when I re-formatted the disk and tried to install Win98, it always
        hangs at about the same point during the installation process when it's
	...
1999/11/2-4 [Computer/HW/Drives] UID:16816 Activity:high
11/2    Thinking about getting a CD writer. Is it necessary to get a read
        only CD player and a writer, or can I just use one CD writer w/
        a lot of HD space?
        \_ You can get away with one CD player. However, if you ever wanna
           make CD-to-CD copies, having a CD-ROM and a CD-R makes it a lot
           simplier. of course, you can still do it with just a CD-R, but
	...
2013/2/19-3/26 [Computer/SW/OS/OsX] UID:54611 Activity:nil
2/19    I program a lot by sshing to a Linux cluster.  So I'm used to using
        Xemacs to code.  This works fine from a Linux or Windows workstation,
        but sometimes I have to use a Mac.  On Mac, the meta is usually
        bound to option, but that often doesn't work over ssh for some reason.
        This makes using emacs a real pain.  Any suggestions on how to fix it?
        (Other than "use vi")
	...
2012/8/28-11/7 [Computer/HW/Memory] UID:54466 Activity:nil
8/26    Amazon medium instances (3.75GB RAM): 0.160/hour = $1382/year
        Generic standard Linux VPS (4GB RAM): $480/year
        Amazon costs more (but does offer superior scaling options).
        \_ Amazon is $670 if you buy a year's usage up front (heavy util).
           Why is heavy util less expensive than light util?
	...
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:
	...
2010/7/21-8/9 [Computer/SW/OS/FreeBSD] UID:53890 Activity:nil
7/21    Can I just use ifconfig to expand my netmask on a FreeBSD box?
        Are there any gotchas here? Linux forces me to restart my network
        to expand my netmask.
        \_ yes... and no, you don't have to restart your network on linux either
           \_ Rebooting is the Ubootntoo way!
              \_ Oooboot'n'tootin!
	...
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
	...
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/5/6-26 [Computer/SW/OS/Windows] UID:53818 Activity:low
5/5     Does anyone know how to do custom install of Ubuntu 10.04? I can't
        even boot it up to give me the menu to custom install and it
        keeps installing a bunch of crap I don't need. It's getting
        just as slow and bloated as Winblows install. Dear lord,
        I miss the old Ubuntu.
5/5=1.0 Numerology FTW.    5+5=10
	...
2010/4/22-5/10 [Computer/SW/Languages/Misc] UID:53797 Activity:nil
4/22    In Linux is there an easy way to rename the scripts in /etc/rc?.d ?
        For example I want to set all the /etc/rc?.d/S91apache to S100apache
        so that it'll run the ramdisk BEFORE going to apache.
        \_ Sure, just move them.
           \_ I mean is there a script that will rename all of them
              for me? Like: setrc apache2 0 0 1 1 1 1
	...
2010/2/18-3/9 [Computer/SW/WWW/Browsers] UID:53713 Activity:nil
2/18    Why is there now Firefox 3.5.8 when there was already 3.6 a month ago?
        \_ Why is there Windows XP SP3 when there was already Vista?
           Generally companies manage patches for at least two levels of
           product.  -tom
           \_ I see.  So Fx 3.6 is more like a new version than an update to
              3.5.x.  --- OP
	...
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/6/1-3 [Computer/HW/CPU] UID:53068 Activity:high
5/31    History of winners and losers by *popularity*:
        VHS > Beta Max
        USB2 > Firewire
        x86 > PowerPC > Everything Else > DEC Alpha > Itanium
        BlueRay > HDDvd
        \_ It's too early to tell RE: "Blue"Ray. They may both turn out to be
	...
2009/2/20-25 [Computer/SW/OS/Windows] UID:52610 Activity:nil
2/20    I'm using Cygwin/X on XP.  All the X indows (xterm, emacs)
        seem to have a keyboard repeat rate and a repeat delay that's different
        than the one XP uses for other Windows apps.  When I do "mode con
        rate=xx delay=yy", it only changes Windows apps but not the X apps.
        How do I change the keyboard repeat rate and delay for X?  Thanks.
        \_ man xset
	...
2008/11/29-12/6 [Computer/SW/OS/FreeBSD, Computer/SW/OS/VM] UID:52129 Activity:moderate
11/29   I'm experimenting with virtualization, and as a poor college student
        I'm wondering what the best alternatives for virtualization are, and
        how best to cut my teeth on messing with non-linux platforms (or I
        guess interesting stuff on Linux would work too). Right now I've got
        FreeBSD7 running on KVM on my home computer (on a Core 2 Quad), and am
        somewhat at a loss as to how to use it. (More details: bridged
	...
2008/11/15-26 [Computer/SW/OS/Windows] UID:51993 Activity:nil
11/14   I have a bunch of pictures and I find that thumbs.db on
        Windows XP to be very useful, especially when you're on NAS
        and the network is slow. Having that said, my Win XP has
        stopped generating thumbs.db even though I've set it to generate
        thumbs.db (Properties->View->Uncheck "Do not cache thumbnails.").
        How do I force Windows to generate Thumbs.db? Googling seems
	...
2008/10/12 [Computer/SW/OS/Windows] UID:51487 Activity:nil
10/12   When XP boots up on my PC, the screen reads "Microsoft (R) Windows (R)
        5.01. 2600 Service Pack 3 Multiprocessor Free."  What does "Free" mean?
        Thx.
	...
2008/9/18-19 [Computer/HW/Laptop] UID:51217 Activity:low
9/18    My  7 year old Dell laptop is slowly  decending into its death throws.
        I am seriously considering an Mac laptop; but am having a hard time deaa\
        ling with the price. Curious to find out  if people really think that
        the extra $$ upfront was a good investment. a 2K macbook pro with
        standard config can buy a high end dell laptop
        \_ I have both a MacBook Pro (and before that a PowerBook) and a
	...
2008/6/27-7/14 [Computer/SW/OS/Windows] UID:50396 Activity:nil
6/27    "No extension: Windows XP D-Day arrives Monday, June 30"
        http://tech.yahoo.com/blogs/null/96295
        Among all Windows versions, is XP one of the most sucessful ones?  The
        other one I can think of might be 3.1.
        \_ 2000 was pretty damn good too.
        \_ Win95? It ran the most games. XP seems better than Win2k to me, but
	...
2008/5/5-9 [Computer/SW/OS/Windows] UID:49885 Activity:moderate
5/5     Any recommendations for data recovery software for NTFS partitions?
        I have an NTFS partition that produces this error in linux:
          "ntfs_read_inode_mount(): Couldn't find first extent of $DATA attribute
           in attribute list. $MFT is corrupt. Run chkdsk"
        \_ Eh... I'd try it with a real windows box before assuming the
           partition is bad.  NTFS itself is pretty solid.  How old is the
	...