Re: [gentoo-user] HELP! I dorked it myself! (SOLVED)
Thanks to all who assisted. I used a combination of all and this is now solved! (except for the original problem) 1. Booted install disk 2. mkdir the /mnt/gentoo, /mnt/gentoo/usr, /mnt/gentoo/home 3. ifconfig stuff for network. 4. mounted above with existing partitions. 5. chrooted to new (old) Gentoo 6. emerge baselayout 7. reboot to new (old) system... Viola!! Thanks again folks!! Mike On Tuesday 15 July 2003 01:57 pm, Andrew Farmer wrote: At 15 July, 2003 Michael W. Holdeman wrote: OK intrying to deal with the last baselayout update problems I created, I took my running gentoo 1.4 system and inadvertinately (I know this seems impossible to do, and I deserve all the problems I have) dumped my baselayout!. Now all I get isinit # when booting. I tried to mount /usr, and /home and all I get is /dev/hda1 doesn't exist, as well as /dev/hdb1. fstab is there in /etc. and df shows all filesystems although the space calculations appear dorked as well. Is there a way to get to emerge and install a baselayout? Unlikely - unmerging baselayout has probably destroyed most of your installation. You'll probably have to back everything up and reinstall. -- Michael W. Holdeman Why keep payin g for windoze?? Powered by Gentoo Linux 1.2 www.gentoo.org Linux Kernel 2.4.22_rc2-gss lowlatency, preemptable Windows Apps thanks to Win4Lin 5.0 www.netraverse.com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HELP! I dorked it myself!
At 15 July, 2003 Michael W. Holdeman wrote: OK intrying to deal with the last baselayout update problems I created, I took my running gentoo 1.4 system and inadvertinately (I know this seems impossible to do, and I deserve all the problems I have) dumped my baselayout!. Now all I get isinit # when booting. I tried to mount /usr, and /home and all I get is /dev/hda1 doesn't exist, as well as /dev/hdb1. fstab is there in /etc. and df shows all filesystems although the space calculations appear dorked as well. Is there a way to get to emerge and install a baselayout? Unlikely - unmerging baselayout has probably destroyed most of your installation. You'll probably have to back everything up and reinstall. -- Andrew Farmer [EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: [gentoo-user] HELP! I dorked it myself!
On Tue, 15 Jul 2003 13:47:35 -0400 Michael W. Holdeman [EMAIL PROTECTED] wrote: OK intrying to deal with the last baselayout update problems I created, I took my running gentoo 1.4 system and inadvertinately (I know this seems impossible to do, and I deserve all the problems I have) dumped my baselayout!. Now all I get isinit # when booting. I tried to mount /usr, and /home and all I get is /dev/hda1 doesn't exist, as well as /dev/hdb1. fstab is there in /etc. and df shows all filesystems although the space calculations appear dorked as well. Is there a way to get to emerge and install a baselayout? You might try booting from the LiveCD and then trying to emerge the baselayout from there. I would definitely back up as much as possible before doing this, but it might be worth a shot. -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen Homepage: http://www.ihtruelsen.dyndns.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HELP! I dorked it myself!
On Tuesday 15 July 2003 17:47, Michael W. Holdeman wrote: OK intrying to deal with the last baselayout update problems I created, I took my running gentoo 1.4 system and inadvertinately (I know this seems impossible to do, and I deserve all the problems I have) dumped my baselayout!. Now all I get isinit # when booting. I tried to mount /usr, and /home and all I get is /dev/hda1 doesn't exist, as well as /dev/hdb1. fstab is there in /etc. and df shows all filesystems although the space calculations appear dorked as well. Is there a way to get to emerge and install a baselayout? Mike You could still : - boot from a gentoo livecd - mount your broken partition - for f in `qpkg -l -nc baselayout`; do cp $f /YOURBROKENPART/$f; done - you should be able to reboot on your broken system - and emerge baselalyout No need to reinstall :) -- The bureaucracy is expanding to meet the needs of an expanding bureaucracy. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] HELP! I dorked it myself!
begin quote On Tue, 15 Jul 2003 13:47:35 -0400 Michael W. Holdeman [EMAIL PROTECTED] wrote: OK intrying to deal with the last baselayout update problems I created, I took my running gentoo 1.4 system and inadvertinately (I know this seems impossible to do, and I deserve all the problems I have) dumped my baselayout!. Now all I get isinit # when booting. I tried to mount /usr, and /home and all I get is /dev/hda1 doesn't exist, as well as /dev/hdb1. fstab is there in /etc. and df shows all filesystems although the space calculations appear dorked as well. Is there a way to get to emerge and install a baselayout? boot with init=/bin/sash mount -o remount,rw / mount /usr/ emerge baselayout That should do it, most configurations should be CONFIG_PROTECT ed so you should have them still. //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end pgp0.pgp Description: PGP signature
Re: [gentoo-user] HELP! I dorked it myself!
Not necessarily. If the legacy /dev entries got nuked, you'll need to mount your filesystems manually with the devfs names. Example: mount -t reiserfs /dev/ide/host0/bus0/target0/lun0/part3 /usr and such. Unfortunately, dev entries aren't protected by portage, so if devfsd isn't setup to create those entries persistently, you're not going to be able to use them after they're deleted. On Tue, 2003-07-15 at 15:07, Spider wrote: begin quote On Tue, 15 Jul 2003 13:47:35 -0400 Michael W. Holdeman [EMAIL PROTECTED] wrote: OK intrying to deal with the last baselayout update problems I created, I took my running gentoo 1.4 system and inadvertinately (I know this seems impossible to do, and I deserve all the problems I have) dumped my baselayout!. Now all I get isinit # when booting. I tried to mount /usr, and /home and all I get is /dev/hda1 doesn't exist, as well as /dev/hdb1. fstab is there in /etc. and df shows all filesystems although the space calculations appear dorked as well. Is there a way to get to emerge and install a baselayout? boot with init=/bin/sash mount -o remount,rw / mount /usr/ emerge baselayout That should do it, most configurations should be CONFIG_PROTECT ed so you should have them still. //Spider -- Bryan D. Stine [EMAIL PROTECTED] KentoNET Communications signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] HELP! I dorked it myself!
Spider [EMAIL PROTECTED] writes: [ ... ] boot with init=/bin/sash very sound advice, and thank you Gentoo for having /bin/sash installed by default. :-) mount -o remount,rw / you probably want to run 'devfsd' at this stage. mount /usr/ emerge baselayout if mount fails, and you're unable to run devfsd, follow the advice Bryan D. Stine gave in using full devfs names of partitions when mounting. -- Terje -- [EMAIL PROTECTED] mailing list