MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
ive been trying to find a good way to backup linux, and the only good one i can find is the one built into the MCC. so, i have a question about saving a list of installed RPMS so whenever i need to reinstall mandrake 10 (just in case i need to reinstall it) i dont have to manually select all of my previously installed RPMS, i can just have them handy on a list.
i know that when installing you can save the list on a floppy, but i dont have a floppy drive, and i heard in the next version you can save the info on a USB drive.
how can i save the list of installed RPMS so i can just tell it to reinstall those RPMS from the cds (not the internet)
another trick you can use, is (if you have the hard drive space) create a directory somewhere on your computer (either in the Mandrake install, or on a free partition) & copy all the RPM files from the Mandrake CD's into that directory. then, go to Mandrake Control Center->software->media manager. click "remove" & remove all your CD sources (& "main" source if you have one). then, click "add", choose "local source", give it a name, browse to the folder where you put the RPM's, leave the "path to hdlist......." blank, & click "save". click "save" in the media manager when after the source is added. now, when you want to install a package, it won't ask you to insert a CD or have to download it from a mirror.
you should still keep a "contrib" source & a "plf" source. they are always good to have, & sometimes neccessary for dependency issues.
Name the file "reinstall_stuff" or something like that, and then "chmod u+x reinstall_stuff" to make it executable. Then run it (type "reinstall_stuff") and it will go through each program and execute the urpmi program for it, which will install it from CD-ROM or FTP or however you installed it in the first place. (If it's already installed, it will say so and skip it.)
By the way, if you installed a known package like "gimp" that is already listed in your RPM Sources setup (Mdk Ctrl Ctr -> Software -> Sources), then you can just use the command
But if you have a specific file that you downloaded, like "/home/DAChristen29/downloads/WeirdAndWonderfulGIMPversion.rpm", then you have to specify the full pathname
I've never used kickstart (whatever that is --does it come with Mandrake?) or the backup command in Mdk Ctrl Ctr, preferring to write my own scripts so I know exactly what is happening with the files.
If you already have a file with the list of programs in it, you can use an appropriate sed command to add the characters "urpmi " to the front of each line to turn it into a script file. Something like:
sed -e "s/^/urpmi /" <MyListOfRPMs >reinstall_stuff
Don't forget to add "#!/bin/sh" as the first line.
im about to reformat my drive in a few weeks because im completely wiping windows off,and need to reinstall linux
You sound like you're going to wipe your linux partition. Why? If I were you, I would use a partitioning program (Partition Magic is the most well-known; I use Acronis Partition Expert, downloaded for US$46; there are free ones too that I haven't used before like Ranish Partition Manager, QtPartEd, GNU PartEd, etc.) that resizes a partition without destroying the other partitions.
Just shrink your Windows partition to size 0 or something, and leave the Linux partition alone. (Don't actually delete the Windows partition because then the other partitions get renumbered, and your former /dev/hda7 is now /dev/hda6, etc. --big headache).
You could also shrink the Windows partition to a small size enough to fit a second Linux installation --3GB ought to be enough-- and then convert that to a Linux filesystem like ext2, ext3 or ReiserFS, all ready to accept a new installation. (You wouldn't actually have to install something there.)
Or you could shrink the Windows partition and turn it into another swap partition, perhaps half a GB to one GB in size.
In any case, with the new room created on your hard drive, you can just expand the current Linux partition to take up the rest of your space.
Linux is not Windows. You don't have to re-install every 10 months.
yeah, i know how to repartition. i dont want 2 distros on this machine because i only need one. i dont need windows for anything really except adobe premiere.
im still diciding on if i should repartition/resize because if i run windows in vmware to use adobe premiere, i might want to use the extra partition as my windows virtual drive. or, i might just use my /home dir in linux and keep the virtual drive there, *OR* i might repartition my drive so windows has a 7 GB space, and just use that for my LAN party games and stuff. its still in dispute, but i have about 2 months to make up my mind.