Woops, I deleted my Gentoo partition!
Man did I ever make a mistake. I went out to buy an 80 Gig usb 2.0 drive and and accidentally reformated my internal hard drive partition with Gentoo on it --- YOW!!.
The thing about USB devices under the 2.4.x kernel is that they mount as if they are a SCSI drive -- /dev/sda1 /dev/sda2.
well I wanted to format the drive using mkfs.ext3 /dev/sda2 but I accidentally typedmkfs.ext3 /dev/hda2
WHY WHY WHY WHY HWY???????
I think I did it intentionally on some subliminal level. Afterall I was thinking of repartitioning my drive now that I had a big external drive to store stuff on. Also I noticed that I didn't optimize some of my software for Pentium 4.
Ok, Everything is fine I still have the Live CD -- lets see if I can install this thing in less time. 10 seconds later, I opened my laptop case only to find my Gentoo Live CD broken in half. NOOOOOOOOOOOOOOOOOO!!!!!!!!!!
OK OK -- calm down, you can just redownload it.
So I find a gentoo mirror and download the latest Live CD - only like 100 megs no prob.
Done.
Hmm, Maybe I should just download the Stage 3 Pentium 4 build it's only 130 meg and will save time.
Done.
boot live CD.
Run cfdisk
delete first 3 partitions and make 2 new ones.
Ok I like that.
mount /dev/hda2 /mnt/gentoo/
mount /dev/hda1 /mnt/gentoo/boot/
swapon /dev/hda6
done.
Copy stage*3 to /mnt/gentoo/.
unbzip, untar.
done
AHHHHHHHHHHH!!!!!!
chroot /mnt/gentoo /bin/bash
source profile
env-update
run kudzu to install network
dhcpcd eth0
done
emerge kernel-sources
done
cd /usr/src/linux
make menuconfig
make dep && make clean bzImage modules modules_install
emerge lilo
cp /etc/lilo.conf.example /etc/lilo.conf
nano -w /etc/lilo.conf
change root partion to /dev/hda2
save and exit
lilo;
bootloader
Gentoo*
restart computer
emerge -k kde-base
emerge -k kde-utils
ok I am just about back not just:
emerge world;
Done!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!