Knoppix and 'Knoppix Hacks' rescue me from borked GRUB on the $0 Laptop

| | Comments (0) |

So I figure I'll try OpenSUSE 10.3 today. Before that I tried out the Fedora 8 live CD. Not super impressive, although I'm not saying I won't take a look at Fedora 9 when it comes out.

Anyhow, I install OpenSUSE on one of my free partitions. For some reason, I can't get the network configured. My static IP information just won't stick.

This after a weekend during which every time I booted into PC-BSD 1.5 it looked worse. First my ACPI fan management went away, then my KDE "bouncing icon" cursor thingy returned to its pre-1.5 blurriness when a new app is launched..

So I had SUSE on the box. Even though the live CD booted in 1024x768, after the install (during which you'd think the system would ASK me whether or not I wanted a static IP ... but I digress) I had only 800x600 resolution. It was easy enough to choose 1024x768, 24-bit, reboot and get the right resolution, but do they have to make networking so hard?

I should probably give Fedora 8 a run at the hard drive ... or maybe I should just wait for Ubuntu 8.04, which is only a few days away at this point.

Before I did anything, since things were already screwed up, I did a NetBSD 4.0 install to the SUSE partition. It wasn't the prettiest looking thing -- the installer, that is -- and I tried NOT to install a new Master Boot Record. But I did end up with one, and I booted straight into NetBSD. It looks exactly like FreeBSD when you start X. Twm is the window manager. And no, I still couldn't exit X from the Twm menu. I had to use ctrl-alt-backspace. So either Twm, or NetBSD and FreeBSD, do not like the $0 Laptop (Gateway Solo 1450).

I was left without the GRUB bootloader. In order to restore GRUB, I started with the Lenny business-card CD in the "rescue" mode. All I wantws to do is reinstall GRUB, and I'm being asked all kinds of questions about my drives, how I want them formatted, waiting for the base system to install ... I got out of there quick. I didn't want to screw up my current Lenny install, which I'm actually relying on heavily at the moment.

Here's how the laptop is set up. The drive is 30 GB. I have Linux swap on hda1. My "experimental" partition, which went from PC-BSD to SUSE to NetBSD in about an hour, is 10 GB on hda2. Debian Lenny is on hda3, also 10 GB. I have an extended partition (hda5) which is formatted to ext3, on which I back up files from the other installs.

To fix GRUB, I booted into Knoppix 5.1.1, opened up a terminal, did su to root and then the following (thanks to Kyle Rankin's excellent "Knoppix Hacks"; and yes, we all need a copy of this very valuable book):

My Lenny filesystem (which had a "good" /boot/grub/menu.lst) was automatically mounted by Knoppix, so I remounted it with the dev option and write permission:

# mount -o remount,dev,rw /mnt/hda3

Then I restored GRUB:

# chroot /mnt/hda3

# grub-install /dev/hda

Again, thanks to Kyle Rankin's "Knoppix Hacks" for the tip.


Leave a comment

Tech Talk column

Steven Rosenberg's weekly Tech Talk column, which appeared Saturdays in the Los Angeles Daily News through about October 2009, is available on the Daily News Technology page.

About this blog






Steven Rosenberg aims to learn what he does not know. He writes about it here.



About this Entry

This page contains a single entry by Steven Rosenberg published on April 21, 2008 3:00 PM.

I stumble upon Debian Administration was the previous entry in this blog.

The ultimate e-mail setup: Gmail + SUP (??) is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Recent Comments

Powered by Movable Type 4.25

Search this blog

Loading

LXer

Links

Daily News technology
LXer
Distrowatch
Linus' Blog
David Pogue
BoingBoing
Linux Today
TuxRadar
Linux.com
Linux Planet
The Open Road
Linux Outlaws podcast
Dan Lynch
Fabian Scherschel
The VAR Guy
Larry the Free Software Guy
Chess Griffin
Linux Reality podcast
Desktop Linux
Practical Technology
Linux Devices
ZDNet
ZDNet's Storage Bits
ZDNet U.K.
iTWire
CNet News
Webware
Beyond Binary
TechCrunch
The Register
Ars Technica
Reg Developer
Computerworld
Computerworld blogs
Steven J. Vaughan-Nichols at Computerworld
Debian
Planet Debian
Debian Forums
Debian News
debianHELP
debiantutorials.org
The Debian User
Wolfgang Lonien
Debian-News.net
Debian Administration
Debian Admin
Debian Weather
Aaron Toponce
Ubuntu
Xubuntu
Kubuntu
Edubuntu
Planet Ubuntu
Ubuntu Forums
Ubuntu Geek
Works With U
OMG! Ubuntu!
I' Been to Ubuntu
Tanner Helland
Dustin Kirkland
Ubuntu UK Podcast
Ubuntu Linux Help
Popey
Linux Mint
CrunchBang Linux
OpenBSD
OpenBSD Journal
OpenBSD Ports
OpenBSD 101
Planet.OpenBSD.nu
jggimi's OpenBSD live CD
DaemonForums
BSDanywhere
Marc Balmer
Denny's OpenBSD blog
Polarwave's OpenBSD Tips and Tricks
Binary Updates for OpenBSD
Puppy Linux
Damn Small Linux
Tiny Core Linux
Lucky 13's Linux blog (lots of Tiny Core)
Lucky 13's BSD blog
PCLinuxOS
Mandriva
Red Hat
Red Hat News
Red Hat Blogs
Red Hat: Truth Happens
Red Hat Magazine
CentOS
Planet CentOS
Fedora
Planet Fedora
Fedora Forums
Fedora Docs
Join Fedora
Slackware
Slackbuilds
Robby's Slackware Packages
Slackblogs
dropline GNOME for Slackware
GNOME Slackbuild
GWARE - GNOME for Slackware
Wolvix
Zenwalk Linux
Vector Linux
Slax
Splack Linux — Slackware for Sparc
Nonux
How to Forge
marc.info BSD and Linux mailing list archive
FreeBSD
FreeBSD, the Unknown Giant
A Year in the Life of a BSD Guru
NetBSD
hubertf's NetBSD Blog
PC-BSD
Daemon Forums
FreeBSD Forums
Planet FreeBSD
Evilcoder.org
miwi's Privat Blog
DragonFlyBSD
DragonFlyBSD Digest
DesktopBSD
BSD Talk podcast
BSD Magazine
Rhyous
OpenSolaris
MilaX
BeleniX
DeLi Linux
Linux Loop
Electronista
The Tech Report
Engadget
Gizmodo
Phoronix
xkcd – A webcomic of romance, sarcasm, math and language
Nixie Pixel
Technology for Mortals
Thoughts on Technology
ZaReason
System 76
Tiger Direct
NewEgg
DealExtreme

Advertisement

Other blogs

Neuheisel/Johnson Pt. 3 in Inside UCLA with Jon Gold
Live: U.S.-Chile at Home Depot Center in 100 Percent Soccer
Girls' basketball: Bell-Jeff wins again in Daily News High School Spotlight
Decision Time in Inside USC with Scott Wolf
Countdown to Debian Squeeze in CLICK