Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well I'm new to linux and sure did mess something up.
In a couple days I plan on changing to opensuse from kubuntu. Anyway in the Kpackagemanager I removed the pulseaudio client (and its dependencies) and it messed up my system a bit. I don't really mind but all I need is to get my files from my home folder off my hdd to an external through usb 2.0. When Kubuntu 9.10 boots now all it is is a command terminal basically and I don't know the specific commands to get the files. Or if I need to reinstall something so that it boots up with a graphical looking UI again.
When you un-installed pulseaudio, you removed a lot of applications, and KDE. You don't have it installed any more. I know from the same experience. If you want to see what got removed, have a look in /var/log/messages There will be an entry for each package removed.
You have two choices, install KDE and all the applications removed, or just re-install. If you want to install the packages removed, you will have to do it via the command line, unless you had more than one desktop installed.
I run Mandriva, so I can not tell you the commands to use. Possibly someone that runs buntu can chime in and give you some direction on command line install.
In any case I don't really want to do a re-install, unless its possible to do it and not lose my files (school docs,music, and movies mostly
There are lots of ways to move your files to a safe palce, in fact sine the system runs, command line, it is quite easy. USB memory sticks are cheap. I have a 8 gig stick I bought at Wal-mart. ( $20.00 ). You probably have to run a mount command. Then copy the files and folders to saftey.
Another way, if you need a GUI is to boot from a live CD. There are lots to choose from. I use Knoppix usually for this kind of rescue. From the gui you can mount an external USB, drag and drop the folders.
If you need help with the commands, let us know...
I have a usb drive and a portable hdd I can use. I don't know how to mount a usb device from the command line though as well as transfer the files to the device from it. If you could help with that I'd appreciate it so much.
First of all, try plugging it in, it may automount, depending on your system configuration. If it automounts, the files on it will probably show up in a directory called /media. You can try a 'ls' command in /media before and after plugging the stick. If it shows up, you are away to the races. If not, try the next things.
Before you plug it in, on the command line go to /dev directory. Try a few ls commands to see what it there before you plug it in. ie 'ls /dev/sda' and 'ls /dev/sdb' If your hard drives are sata, there will be a sda device before you plug the memory stick. The stick should show up as the next device.
Plug the stick, and do the ls commands again. You should find a new device created. You need to know for the mount command what the stick is. Most of them are formatted for fat, ( vfat as linux calls it ).
If the stick shows up as /dev/sdb, you now need a mount point. You can use /media for this. CD to /media. make a directory for the stick. 'mkdir stick' ( you can call it anything you want ). Now try a mount.
'mount -t auto /dev/sdb /media/stick' hit enter, pray, if there are no errors it was a success. Do an 'ls' in /media/stick directory and you should see what is on the stick.
So I plugged in the flash drive and it showed up as /dev/sdb . I tried making a directory in /media by entering
Code:
cd /media
and then
Code:
mkdir stick
(naming it stick to keep it easy) but it replies with permission denied.
When I attached the usb stick it came up with two lines of text so I do know if that means it recognized it and automounted it or not. I tried figuring out how to few the files on there but I could not as I do not even think it is mounted.
Most likely it is because you are not root. I believe if you type su it will them ask for root password. I use Slackware myself so I am not for sure on this one. I think you could also type sudo mkdir stick and this would work also.I am almost positive the second one will work. Seems like I remember this from my Ubuntu days.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.