LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 06-23-2010, 11:39 AM   #1
Colin M
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Rep: Reputation: 0
Unhappy I want to use live CD for repair, but get another linux system has been detected and


I want to use the live cd (Linux mint 9) to do a repair install on my system, but when I start, it says that it has detected another instance of linux and this must be removed before I can continue. I don't want to do this as I have a lot of data on this system and I don't want to lose it.
The error occurred when I did a dist-upgrade and installed new kernels.
Before I installed the kernels, a message came up saying the following packages are already installed but are no longer required. Use apt-get autoremove to remove them. I did this and now when I boot, I get as far as the five changing dots on the screen and it just stays there. I went into command line and ran apt-get mint-meta-main mint-meta-gnome, and at the end it came up with problem with /etc/utilities/desktop.
dpkg error 1.
Any ideas please.
 
Old 06-23-2010, 12:42 PM   #2
pack3tg0st
LQ Newbie
 
Registered: Jun 2010
Location: Kalamazoo, MI
Distribution: Mint, Arch
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by Colin M View Post
I want to use the live cd (Linux mint 9) to do a repair install on my system, but when I start, it says that it has detected another instance of linux and this must be removed before I can continue. I don't want to do this as I have a lot of data on this system and I don't want to lose it.
The error occurred when I did a dist-upgrade and installed new kernels.
Before I installed the kernels, a message came up saying the following packages are already installed but are no longer required. Use apt-get autoremove to remove them. I did this and now when I boot, I get as far as the five changing dots on the screen and it just stays there. I went into command line and ran apt-get mint-meta-main mint-meta-gnome, and at the end it came up with problem with /etc/utilities/desktop.
dpkg error 1.
Any ideas please.
I don't think you can do a 'repair install'.

You can use the Live Disk to repair your system manually, or even to get the important files and back up your system... but you can't install over the top of Mint without getting rid of the previous 'borked' install.

I have heard of people installing over the top, and just not selecting the 'format disk' option in the partition editor, but I'd consider this maneuver way too risky to try...

What I would do, is pop in the live disk, and use that live disk to retrieve your important files. You could burn em to DVD/CD, put em on a thumb drive, or even shrink down the original partition your system is on, and put all of the files on a dedicated partition...

Sorry about your luck, but unless you want to repair your system, which might not be overly difficult, depends on the problem, you're going to have to write over the last partition.

another solution might be to do the side by side install... giving you the option to dual boot into a working OS, and retrieve your files on the borked OS... that seems like too much work to me, I'd probably just toss em all on a thumb and be done with it.
 
Old 06-23-2010, 01:04 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
If you reinstall, create a separate partition for /home
So you can reuse it when something goes wrong.
Also consider using a good backup strategy.

Last edited by repo; 06-23-2010 at 01:06 PM.
 
Old 06-23-2010, 03:07 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,996

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Was the original install Mint9?
 
Old 06-26-2010, 06:09 AM   #5
albert1t0
LQ Newbie
 
Registered: May 2009
Location: Peru
Distribution: Ubuntu
Posts: 4

Rep: Reputation: 0
Try this, use a livre cd (knoppix or Mint) and copy /boot directory of a system that's boot normally on yours /boot dir.
If you use grub, don't overwrite grub dir. Maybe you have problems with some hardware but you can boot and try to fix your installation.
 
Old 06-26-2010, 09:00 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,341
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
I second albert1t0.

I would recommend Knoppix for this--this is exactly the type of task it is designed for. Heck, I know Windows guys who use Knoppix to fix Windows.

I would build on what albert1t0 said by suggesting that you also copy the contents of your home folder, at least the crucial files, to removable media. And do not forget crucial hidden files.

You can also use Knoppix to look at /etc/utilities/desktop and maybe diagnose and fix the problem by editing some text file without having to reinstall.

Aside: I remember encountering the "Repair" option in Windows NT, and 2k, and XP (I haven't messed with Vista or 7). Frankly, I never ran a Windows "Repair" that repaired anything; all it did was waste an hour or two. If I tried to run a "Repair," it always ended up "Reinstall."

Last edited by frankbell; 06-26-2010 at 09:01 PM. Reason: Open tag
 
Old 06-26-2010, 09:32 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,137

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
Quote:
Originally Posted by Colin M View Post
I want to use the live cd (Linux mint 9) to do a repair install on my system, but when I start, it says that it has detected another instance of linux and this must be removed before I can continue.
Most of the mega-distros (Ubuntu, Fedora et al) and their derivatives like Mint are pretty arrogant when it comes to this. They only recognise themselves when they are the only (or "first") distro found on the hard-disk. Same generally applies to "boot an installed system on hard disk" type options.

I usually just do a full re-install and ignore the distro attempt to recover. As per @repo above, you might want to create a separate partition and copy /home over first. The re-install will handle things for your userids if you specify the home partition during the install. At least normal Ubuntu does ...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need a Linux OS other than Ubuntu which has a repair disk or repair software jhmac77 Linux - Newbie 1 03-17-2008 07:04 AM
Use Live CD to repair installation htnakirs Mandriva 1 02-25-2008 06:37 AM
LXer: The best Linux system repair distribution gets better LXer Syndicated Linux News 0 10-06-2007 01:00 PM
Using Live CD to repair a file Mithrilhall Linux - Newbie 2 01-16-2007 11:32 AM
REPAIR WINDOWS( linux installed system) sajjadc Linux - Software 8 08-11-2006 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration