?

Log in

No account? Create an account
Laptop Screwed. Brad sad. - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Laptop Screwed. Brad sad. [Jul. 9th, 2001|06:32 pm]
Brad Fitzpatrick
[Tags|, ]

Screwed up my laptop upgrading the kernel. I do this all the time and have never had problems (especially with Debian and make-kpkg). However, now the system boots and LILO says:

LIL-

Which means "The descriptor table is corrupt. This can either be caused by a geometry mismatch or by moving /boot/map without running the map installer."

I booted off a Debian CD, ran a shell, mounted the /target and /target/boot, ran a shell chrooted to /target, then ran /sbin/lilo -v -v -v .... all looks fine.

This makes me sad. I just want it to work ... I hate fucking with it so much. I muse at installing Cygwin, Apache, MySQL, and emacs for Windows and using that as my development environment on my laptop. *sigh*

Update: fixed. Woohoo.
LinkReply

Comments:
From: qtkat
2001-07-09 06:36 pm (UTC)
*qt cries for you*
(Reply) (Thread)
[User Picture]From: bradfitz
2001-07-09 06:39 pm (UTC)
Topless pictures always cheer me up, too. :P
(Reply) (Parent) (Thread)
[User Picture]From: blythe
2001-07-09 07:05 pm (UTC)
grrrrrr
(Reply) (Parent) (Thread)
From: qtkat
2001-07-09 07:13 pm (UTC)
ut oh....that's not the impression I meant to get...I'm sorry Blythe. : (
(Reply) (Parent) (Thread)
[User Picture]From: blythe
2001-07-09 07:16 pm (UTC)
heh.. it's ok.
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2001-07-09 07:20 pm (UTC)
She's just messing around. I was too.
(Reply) (Parent) (Thread)
From: qtkat
2001-07-09 07:14 pm (UTC)
: /
(Reply) (Parent) (Thread)
[User Picture]From: kvance
2001-07-09 06:44 pm (UTC)
Try GRUB. It can read your filesystem, so that kind of thing happens less (and you don't have to run it every time you change something). Also if it fails, you can edit an existing boot option or drop to the GRUB shell. I love it. And its boot menu looks a lot cooler than LILO :)
(Reply) (Thread)
[User Picture]From: bradfitz
2001-07-09 06:52 pm (UTC)
Yeah, everybody says how cool GRUB is. I guess I'll make the plunge and learn it.

I'd ask you a dozen stupid question about how it works, but I'll go read the documentation instead.
(Reply) (Parent) (Thread)
[User Picture]From: mattrope
2001-07-09 08:39 pm (UTC)
Debian makes GRUB especially easy to install; there are only three steps to get it up and working:

1.) apt-get install grub

2.) Run "grub-install /dev/hda" to install the stage 1 boot loader into the master boot record.

3.) Create a file /boot/grub/menu.lst which tells GRUB which operating systems to boot and how to boot them. My menu.lst file contains the following:

default = 0
timeout = 10

title Debian GNU/Linux
root (hd0,1)
kernel /vmlinuz apm=on apm=power-off

title Windows XP
rootnoverify (hd0,0)
chainloader +1


The only tricky thing here is that hard drives are numbered starting from 0 instead of 1, which is different from LILO's behavior.
(Reply) (Parent) (Thread)
[User Picture]From: jnala
2001-07-09 09:44 pm (UTC)

windows/cygwin/emacs/etc

I tried the "run Windows but install Cygwin/Emacs/etc and pretend it's really Unix" things with my laptop. Don't bother. It's kind of cool at first, just that it comes anywhere near the real thing, but all the little differences will bug the hell out of you.

Running Linux or BSD inside VMware, otoh, seems like a reasonable strategy. You can run VMware under Windows if you need to for hardware support, and adding the layer of abstraction makes it easier to recover from disasters. (Need to back up before upgrading your kernel? Copy the virtual "disk" to a backup file or burn it to CDR. Or make the "disk" undoable, do the upgrade, and commit the changes if it worked and roll them back if it didn't.)
(Reply) (Thread)
[User Picture]From: niko
2001-07-09 10:43 pm (UTC)
check out how much trouble it is to get debian on an Apple iBook.

although it's kind of neat that he gets a triple boot (OS9, OSX, and debian) I don't get the POINT of putting linux on apple hardware.. you're defeating the whole point of buying an apple!

if you really want a cheap linux laptop get a Sony SR laptop. $999. anyway, I'm rambling.
(Reply) (Thread)
[User Picture]From: mart
2001-07-10 03:48 am (UTC)

Heh, Cygwin is pretty cool once you get used to it, and as long as you don't expect it to be a lot like unix. I just use it instead of a DOS shell because otherwise I end up typing ls, which isn't particularly productive. I also like using a rxvt instead of a winoldap (Win9x here) since at least then I can resize it properly.

I also got LiveJournal running mostly okay on the same Windows box using Apache Win32 1.3.6 (couldn't be bothered to upgrade it since it's getting deleted soon anyhow), mySQL Win32 and a little jiggery-pokery. Boy was it slow though.

If you can cope with it not being exactly like unix, it's fine. I generally only use it so I can diff -u without scping back and forth between linux boxen and this windows box! :)

Of course, once I build my new box all of this messing around will no longer be necessary.

(Reply) (Thread)
[User Picture]From: whitaker
2001-07-10 11:44 am (UTC)
I pictured this Win32 Emacs to be some shitty hack that they did to get it to run under Windows... turns out to be really nice/functional. Me likes.
(Reply) (Thread)