View Full Version : [ubuntu] install packages from live usb Urgent!!!
August 16th, 2010, 12:06 PM
okay so I was having trouble with pulse audio and completely obliterated pulse audio from my machine in order to prepare for a reinstall of pulse audio. this also uninstalled a few other packages that I needed to enter gnome....or kde..... so when I try to login via gdm(?) my password will not authenticate (when I enter via xterm or tty the password is accepted). to solve this I need to know
#1 how can install packages off a live usb drive from Terminal
#2 learn how to access a wifi network under terminal to use apt-get
any help would be great
i'm at school right now so It's kinda important :(
August 16th, 2010, 12:35 PM
I guess that means adding the live usb as a repository to some program like synaptic on xterm
or telling where I could find packages and use dpkg
December 1st, 2010, 02:22 AM
I have a similar problem, I had the infamous kernel problem in 10.10 (the one where everything installs fine but dpkg returns an error when configuring the kernel), so I erased the kernel I hopes I could reinstall it problem free. It gave me same problem so I rebooted....now it doesn't boot Ubuntu.
I know that doesn't help, but hopefully it will be noticed....
BTW.. maybe the above was unnecessary....have you already solved this problem??
December 1st, 2010, 02:38 AM
I found what might be the answer here:http://www.tecnoupdate.com.ar/2010/10/30/como-restaurar-grub-con-un-live-cd-de-linux/ (for those who can read spanish)
Its actually a guide on how to reinstall grub from a live usb, but I'm pretty sure the commands they give can be the answer:
Mount your linux partition somewhere (for simplicity's sake, lets just say that your partition is /dev/sda1 and you mounted it on /tmp/part)
Mount it by:
sudo mount /dev/sda1 /tmp/part The site then says to install grub by:
sudo grub-install óroot-directory=/tmp/part /dev/sda.I assume we can just substitute grub-install with apt-get (or whatever command):
sudo apt-get install "x" óroot-directory=/tmp/part /dev/sda.Where "x" is whatever you want to install.
Hope this works.
December 1st, 2010, 02:40 AM
Also, can anybody who knows how to do the above (install packages from a live usb to a hd install) post if what is the way of doing it.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.