?

Log in

No account? Create an account
Linux Community's Journal
 
[Most Recent Entries] [Calendar View] [Friends View]

Wednesday, July 21st, 2004

Time Event
1:09a
problem with gentoo and grub...Kernel panic, won't boot
FIXED!

I just recompiled the kernel with the IDE support built in rather than as a module. Thank you for your responses..





EDIT: I do have reiserfs support built-in to the kernel, not as modules. I forgot to specify that...

I also manually configured the kernel...but don't know how I could upload the config file in any way, and am not going to type it out...sorry.


I'm getting this error on my laptop:
VFS: Cannot open root device "hda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
And the relevent grub.conf commands:
title=Linux (kernel 2.6.7-gentoo-r11)
root (hd0,0)
kernel /boot/kernel-2.6.7-gentoo-r11 root=/dev/hda1 vga=792

My partitions are as follows:
hda1 - ReiserFS, bootable;
hda2 - swap;
hda3 - W95 FAT32 (LBA), bootable;
hda4 - W95 FAT32 (LBA).

I don't have any scsi devices, but I have the emulation and generic scsi support built in. I have an ALi M5229 IDE interface, but there is no option for that in the kernel (2.6.7-gentoo-r11).

I haven't found much help in the forums, and using google producing pretty much the same bit of nothing too helpful.

What things can I do to help this and get my system to finally boot up?
1:41a
I attempted using this script that I wrote a while back to decode mp3s using Lame...However, Lame is not liking what's being passed to it because the filenames are being split at some point.
The filenames I was trying to decode all contained spaces in the filenames, which could be escaped fine...In fact, I passed a file to Lame and it didn't complain...Went happily away and
decoded. My script goes like this currently:
#!/bin/bash
# Note: This script requires that you have lame installed. If you don't currently have Lame, obtain it from http://lame.sourceforge.net.
if [ -z $1 ]; then
echo "Usage: mp3convert , where textfile contains a list of mp3 files to be decoded, 1 per line."
exit 0
fi
for textfile in `cat "$1"`; do
lame --decode "$textfile"
done

I'd think that this would work, however I can't seem to figure out where the filenames are being split. I catted the file containing the list of files to be decoded and it all looked normal.
Anyone have any ideas? Thx!
3:15a
Come on baby, run Linspire...
Linspire (Lindows) has a neat promo ad for their product.

If you like The Doors, you will like the ad.

http://images.linspire.com/RunLinspireSong/RunLinspire.swf
6:20a
Anyone know how to kill these files?

?rwsrwsrwt 65535 4294967295 4294967295 4294967295 Dec 31 1969 tmp

lorca#rm -f tmp
rm: remove write-protected weird file `tmp'? y
rm: cannot remove `tmp': Operation not permitted

unlink doesn't work, nor rm.

chown, or chmod to anything (as root) gives:
chmod: changing permissions of `tmp': Operation not permitted


lsattr gives:
lsattr: Inappropriate ioctl for device While reading flags on tmp


Thanks.
8:17a
Coasters .. . yup
So, just like everyone else when they first download .iso files I'm fairly sure I now have four coasters labled slackware 1-4.

Here's what I did. I downloaded the slackware 10 .iso files. Then I burned them using the nautilus burn utility (ie: burn: is the address box). The nautilus burn feature has a drop down option for burning to a disk image, but I'm not entirely sure how to get that image to load onto a cd. It doesn't seem to do anyhting when I try.

When I loaded the first .iso CD up and prompted teh machine to boot from dick I got nothing. Actually, I got a no bootable disk found error. That does mean that these .iso files are not properly burned to dick, yes? There isn't some odd thing I was supposed to do that Slackware didn't tell me about like stand on my head or rub a goat testicle?
8:11p
*BANG* OW! MY FOOT! Somebody help me find my foot, and the safety on rm -rf
Does anyone else here know how easy it to say "rm -rf usr" versus "rm -rf /usr"? I sure do!

Curse you transgaming and your silly install mechanism. The *.tgz they distribute is meant to be extracted in the / folder, but I keep forgetting that. So I then go and make a mess out of my /home/common_data/sources/ directory. I go to start removing the pseudo-top level directories. I accidentally add a slash .... *whimper*

So my first question is: does GNU rm come with a safety? Any handy-dandy checks I can have it pull up like "You're trying to delete a top level directory, moron!" or anything of the sort? Anybody have any perl/bash script replacements for rm that do that sort of checking for you? And while we're at it, anybody have any other horror stories to share?

Now, on to the damage portion. It appears that all appropriate top level directories are in /usr:
X11R6, bin, build, doc, etc, include, info, lib, libexec, local, lost+found (cuz /usr is on it's own partition), man, sbin, share, src, ssl, var and windows (where i keep WINE stuff).

As close as I can tell, the only casualty to my Ctrl-C'ed assault on /usr was /usr/local/bin. And it is gone. Gone gone gone. Gonetyy gonetty gone.


EDIT: I was wrong! I still do have the output I need. Here is what used to live in /usr/local/bin =D
Collapse )
And as I write this, I realize that my one ray of hope just dissapeared. I don't schedule cron to use updatedb, so I'd hoped that my locate command would still have a record of /usr/local/bin. I backed up the full output from locate multiple times. GUESS WHO WAS TOTALLY WRONG? So I have no idea what was in /usr/local/bin. *Groan*

Any advice on how to figure out what of the n-billion utilities that get dumped into /usr/local/bin need to be recompiled would be great.

Current Mood: depressed

<< Previous Day 2004/07/21
[Calendar]
Next Day >>
About LiveJournal.com