View Full Version : help! i've completely fucked my gentoo installation
simon_marklar
27-07-2006, 04:42 PM
All i did was the "recommended" update command "portage --update --deep world", when i restarted, the damn thing wont see my hard disk at all (says it cant see /dev/hda3, and it is indeed missing from /dev/ ... but when i boot using a livecd i can mount the file system and its all there...
im lost... wtf was i supposed to do after the update command? how can i fix this?
vladi
27-07-2006, 04:54 PM
This is why I stopped using Gentoo a year and a half ago. I wish I could help you but I have no idea what went wrong. You should probably post this on the Gentoo forums.
*EDIT: Were there any config files that you needed to update after you did an 'emerge --update --deep world'? Perhaps you forgot to update them. I know a command exists in Gentoo that lists all of the config files you have yet to update, but I cannot for the life of me remember what it is. Also you might wish to check your /etc/fstab to make sure hda3 is entered there in the mounts.
simon_marklar
27-07-2006, 05:44 PM
im waiting for the damn forum admin to aprove my account.
the problem is that i need to compile my kernel with support for the file system not as a module. but i cant do that, becuase the file system is read only. if i boot with the live CD, i can do a make config, but it fails on 'make' : cannot find GCC.
I'm about to throw the damn thing through the wall.
edit: i just discovered the chroot command, and it looks like a kernel is compiling... fingers crossed!
foolish42
27-07-2006, 06:00 PM
Word of warning. When upgrading major versions, take a new box, load it up, transfer all your data/applications/etc from the old box
There is no other way, even if you get a sucessful upgrade, you'll still have all that old crap on your drive that you can't easily get rid of. And in the worst case, you'll have a dead machine.
you don't use stuff like lvm, do you? that is very prone to break if a config file goes wonky.
cranky
27-07-2006, 06:40 PM
hehehehehee... pwned by nix.
join the club :D
stinky
27-07-2006, 09:23 PM
I thought gentoo came fucked out of the box ?
on the other hand it sounds like sysfs breakage eg it wasnt selected in the kernel compile. that sounds more likely. so check the gentoo wiki about sysfs.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.