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.
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447
Rep:
If you want to use the partition again - just format the partition with some partitioning software (Parted, cfdisk, fdisk, gparted, PartitonMagic etc.) and install Ubuntu on the newly formatted partition. Make sure that you back up first though.
I would just tell the installer to install Ubuntu over the same partitions of Mandriva and format them before the installation. However not many Linux newbies known where their Linux are or wish to find out.
Those options you were given seem strangely limited. Try booting in to XP and deleting the partitions that Mandriva is on. I think you can do this from the Computer Management window, then go to Disk Management option. See this pic for an idea of the bit of XP i mean... http://www.microsoft.com/library/med...management.gif
Then delete the partitions that Mandriva is on. There will be at least two - one will be the main Mandriva partition and one will be the Linux Swap partition. XP will proabably refer to them as unknown partitions, and they will probabaly show up to the right of the C: drive from that pic above.
Once deleted you will have empty space. Run the live cd again, and hopefull you will now have an option for installing on to the unused space you have just created.
If only hda2 is reported Mandriva may have been installed into it and using "edit" option would be the easiest and quickest because we don't want the swap to be deleted.
One way to find out is while loading Ubuntu, drop into the terminal and do a
Code:
sudo fdisk -l
To see how many partitions with Type 83 for native Linux, Type 82 for swap and Type 7 for XP.
If a user is to create or delete partitions for Linux it is better to use the partitioning tools in Linux and Ubuntu is an excellent Live CD.
The entries in the bootloader are not partitions, for example Mandriva and failsafe would boot from the same partiton, but failsafe would boot differently, but I'm not sure how. To see a list of partitions use
Code:
fdisk -l
This will give info about the partitions on your hard drive(s)
Well, I think I managed to install the OS ok, but I didn't choose to reformat the /home partition (hda7).
After I switch on and boot, I put in the username and password and get this warning message:
Quote:
User's $HOME/.dmrc file is being ignored. This prevents default language and session information being saved. File should be owned by user and have permissions. $HOME directory should be owned be user and not writable by other users
.
After I click OK, there's a pause, and an error message that says something like:
Quote:
Your session lasted less than 10 seconds. There is probably an error.
and gives
Quote:
home/mei/.gnome2/ could not be created
.
I poked around using the command line, and the home directory contained the old users from the Mandriva installation. I removed them and created a new /mei directory, but still the same.
Should I reinstall and reformat the partition? Or can I fix this manually?
Does your distro have useradd?
useradd asks where you want your home directory and if it exists, asks if you want to chown it. I use this and have never had a problem.
Last edited by johngreenwood; 02-18-2007 at 06:42 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.