22.10.2014, 09:40 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
chowyunpat
Titel: Trying to restore MBR on 40gb Maxtor Drive  BeitragVerfasst am: 30.06.2006, 02:29 Uhr



Anmeldung: 03. Sep 2005
Beiträge: 10

I know this forum is for regular Kantoix, but I had CPX-MINI installed on a hard drive and I was unhappy with its performance and I tried to resintall an updated version over it. Well. it turns out with the first install I installed grub on the mbr and I have not been able to restore it.

If I have the hardrive jumber set on Master no Live CD will boot at all. If I remove the jumper then I can boot into live CD.. CPX-Mini shows the drive as hdb. When I try to mount if from the home folder, this is what I get:

Mounting /media/hdb
mount: I could not determine the filesystem type, and none was specified
Mount failed

Done
There was one error.

Any pointers or help anyone can offer me. I know this has to be possible, I just dont have any idea where to start.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
bluewater
Titel:   BeitragVerfasst am: 30.06.2006, 08:37 Uhr
Team Member
Team Member


Anmeldung: 04. Apr 2006
Beiträge: 153
Wohnort: Melbourne, Australia
I dont know if CPX-mini has the andreas installer , but if it has , it has a button to repair

_________________
Kanotix Easter RC4 on a dual boot P4 and a production box Desktop KDE::
Kanotix 2006 Easter RC4 on a P2 and Production Box , Desktop KDE::
Kanotix EasterRC4 on a MMX 199Mhz lappy
and a Production Box, Desktop ICEWM::
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
bluewater
Titel:   BeitragVerfasst am: 30.06.2006, 09:39 Uhr
Team Member
Team Member


Anmeldung: 04. Apr 2006
Beiträge: 153
Wohnort: Melbourne, Australia
This is from #Kanotix,, i dont know if it applies to CPX-Mini.. it should give you the needed guidance

"grub" could be http://kanotix.com/FAQ-id_cat-2.html (DE) ,or http://kanotix.com/FAQ-id_cat-13.html (EN);run the kanotix-installer from live-cd in 'repair mode' to fix a broken-grub [or move grub to another partition] or a line like: grub-install --recheck --no-floppy --root-directory=/media/hdxx /dev/hda

_________________
Kanotix Easter RC4 on a dual boot P4 and a production box Desktop KDE::
Kanotix 2006 Easter RC4 on a P2 and Production Box , Desktop KDE::
Kanotix EasterRC4 on a MMX 199Mhz lappy
and a Production Box, Desktop ICEWM::
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
schnorrer
Titel:   BeitragVerfasst am: 30.06.2006, 10:32 Uhr



Anmeldung: 09. Jan 2006
Beiträge: 1721

chowyunpat: every Bios can do this job, Selecting the correct boot-device. you have normaly not to jumper the devices for this option.

Junper your hd to be the first(master) drive and the CD as the slave. than go to the bios setup, debending on bios. bootorder. there you can seleckt from which drive you will boot the next-time starting the PC.

If you set here CD than drive C:, with no Bootable CD the bootprozess will go to the HD where you benix is installed.
CPX-Mini has no repair-function and by default cpx-mini is a live-cd size less than 256MByte

You have cpx-mini instlled on a hd, may be it is the iso and a spezial version of grub, which allows you to boot tihs iso as a loop-device.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
chowyunpat
Titel:   BeitragVerfasst am: 01.07.2006, 23:38 Uhr



Anmeldung: 03. Sep 2005
Beiträge: 10

Thanks, I will take all these ideas into consideration. Bluewater, u mention about the Andreas Installer, do you mean the Kanotix-installer once you are in the desktop on the livecd?.. I hope CPX-MINI
has this option, but I don't think it does.

Again thanks for the tips, I appreciate the quick responses.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
schnorrer
Titel:   BeitragVerfasst am: 02.07.2006, 00:39 Uhr



Anmeldung: 09. Jan 2006
Beiträge: 1721

boot with kanotix-cd and do not use the installer-gui. use grubinstall-hd.sh instaed. note:this is a commandline tool, running from ROOTSHELL
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
chowyunpat
Titel:   BeitragVerfasst am: 23.09.2006, 04:43 Uhr



Anmeldung: 03. Sep 2005
Beiträge: 10

sorry it took me so long to respond.. I tried this last option but it didnt work seems, Im not able to restore the MBR, so Im get a new one.

I learned a lesson, dont try anything that isnt supported and dont put GRUB or Lilo on the MBR
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
kb0hae
Titel:   BeitragVerfasst am: 24.09.2006, 06:02 Uhr



Anmeldung: 22. Jul 2005
Beiträge: 124

Hi chowyunpat. I don't know about Maxtor drives, but Western Digital drives have diagnostic software that you can download. If Maxtor has any type of diagnostic software, you may want to run it to check your drive. If you replace the drive, I would recommend Western Digital. Maxtor drives have a high failure rate.

If you can get a Windows 98 diskette (if your computer has a floppy drive) boot from it, choose to boot without CD-rom support. At the command line, type fdisk /mbr and hit enter. This should wipe out the previous grub installation, and you should be able to re-install grub. To do so, boot from the Kanotix live CD and do the following.
click on the fish icon and choose the installer. in the installer, choose the repair option. IF this does not work for you, try the following.
In a terminal window, type sudo passwd and hit enter. Enter a password twice. then type su and hit enter. you will be asked for the password you just entered. Type it in and hit enter. This makes you root for the terminal session. Then type grub. This opens the grub program. At the prompt type:
root (hdx,y) where the x is the drive and y is the partition that Kanotix is installed on. In grub, the first drive and/or partition is 0. So if Kanotix is on the first hard drive, in the third partition, you would type:
root (hd0,2)
Then you type :
setup (hdx)where the x is the drive to install grub to. Usually this is the first drive, the one the system boots from. So in most cases you would type:
setup (hd0)
If it worked, you should see a message that grub was installed sucessfully.
So if Kanotix is installed on the second hard drive, in the first partition you would type:
root (hd1,0)
setup (hd0)

Good Luck!
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
chowyunpat
Titel:   BeitragVerfasst am: 29.10.2006, 18:59 Uhr



Anmeldung: 03. Sep 2005
Beiträge: 10

this is where im at

i used the Kanotix 2006 edition
and i went to the Kanotix-install from the Kanotix menu
I chose recover and exsist kanotix-hd installation
i chose restore MBR on hdb.. cuz thats the only place where i had a choice to install anything
so i did that
i restore the CD and I see somethig like hdb I/0 error.. and it said that twice but went into the Kanotix livecd desktop
I restarted and I see hdb listed under media
I click on the folders and there is nothing.
I clicked on the folder properties and it says 0 filles 0 folders, 4.9mb out of 5.7 15% used.. it shows that i accessed it today and changed it today.

now i can to the Kanotix installer and choose install Kanotix to hard drive

and they are 2 choise.. under Root partition there is nothing listed under root partition
the second choice is to format with. and i can chooes from a file system from there.. but there is nothing to format

I click on Set mountpoints and when i check that box it shows under Gerat /dev/hdb and there is nothing under mountpoint

I click on partition mananger in the drive selection it shows hdb ahd shows the same thing in the partition table display which is white

in the table under that it shows 01 under Partition everthing is empty except status, it says Empty and under label it says table.

I right click on properties.. i get 2 choices Device Property and make a new partition table

i click on Device properties and there are only entries in 2 place. It says device shortname /dev/hdb and under device status it says Available..


I have no idea where to go from here. If tnothing else works I will just get another hard drive

Maxtors drive utilities cannot read the drive at all. nothing else worked


This drive worked great until install CPX-Mini and then tried to install over it with a new version of CPX-mini and in both instances install grub in the MBR.


I want people to learn from my lesson, it ifs unsupported then dont use it and never install Grub or Lilo to the MBR.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
h2
Titel:   BeitragVerfasst am: 29.10.2006, 19:41 Uhr



Anmeldung: 12. Mar 2005
Beiträge: 1005

grub or lilo are not the problems. You're assuming a cause and affect relationship between a drive failing and grub which I don't think is correct.

Sounds like your drive is dead, or that the cable connecting the drive to the mobo is faulty.

Swap cables, then run the livecd, kanotix, and use gparted to see if it sees both hard drives, hda and hdb.

If not, one is dead or faulty or has a bad connection.

If maxtor's drive utilities can't read the drive, it's almost certainly dead, or has a bad connection. This has nothing to do with cpx mini or grub or lilo.

What probably happened was that the drive was about to fail, you wrote a bunch of data to it very fast [aka installing an OS], then it failed.

_________________
Read more on dist-upgrades using du-fixes-h2.sh script.
New: rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.