Cannot connect to the Internet from my Debian minimal (with OpenBox) after i butchered my network. Saw lots of upgradable firmware in synaptic and also need to reinstall NetworkManager, maybe that's why i can't. Have a LMDE live persistent usb and also another LMDE partition on the same machine with connectivity. Would someone please tell me how to go about it?
I just thought of uncommenting the deb CDRom in my sources.list and plugging in the NetInstall usb to reinstall NetworkManager. But my question still stands regarding updating, upgrading and installing software from a live medium. Thanks.
Last edited by mzsade (2015-09-08 15:52:13)
sudo dpkg -i /var/cache/apt/archives/package-name.deb
sudo su TARGET=/media/sda3 #sda3 is my root partition mkdir -p $TARGET mount /dev/sda3 $TARGET mount --bind /dev $TARGET/dev mount --bind /dev/pts $TARGET/dev/pts mount --bind /proc $TARGET/proc mount --bind /sys $TARGET/sys cp /etc/resolv.conf $TARGET/etc/ chroot $TARGET /bin/bash
Last edited by damo (2015-09-08 14:15:55)
Yaba-daba-doo! That's one heck of a versatile how-to. D
Had a problem initially with
cp /etc/resolv.conf $TARGET/etc/
Then remembered i had to
rm /etc/resolv.conf && touch /etc/resolv.conf
Rebooted into the Debian installer after doing that, the rest was smooth sailing. Thank you so much, this chroot thing is really awesome!