Re: [newbie] Removed secondary hard disk... now what?
On Friday 11 June 2004 01:31 pm, Eric Scott wrote: > Thanx... I'm almost ok so far. I figured out that the local HD is hdc, and > the mandrake partition is hdc6, and I'm almost sure that the hard disk that > I put in and removed was hdd, 'cause it always stalls while trying to mount > hdd when I boot. My problem now is getting hdc6 to mount in rescue mode... > when I try to mount to /mnt/root is says the directory doesn't exist, and > if I try anyplace else is says: "wrong fs type, bad option, bad superblock > on /dev/hdc6, or too many mounted file systems" Just to clarify I think > that this disk is find and hasn't been ruined by any "su newbie mishap" of > mine, as far as I know... :-P Well, I specified reiserfs on the command that I sent you but that may be wrong, since your disk may be ext3 or some other filesystem type. You need to specify the right one. As for the mnt point, if it doesn't exist, from the console in rescue mode, you can always issue the mkdir /mnt/root command and then issue the mount command. That way, the mount point will be created. The /mnt directory should exist as I think that it is created on the ramdrive that Mandrake uses to run rescue mode. This is assuming that Mandrake was installed to a single partition, IIRC, the default is two partitions, a / and /home partition. -- Bryan Phinney Software Test Engineer Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Removed secondary hard disk... now what?
- Original Message - From: "Mikkel L. Ellertson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 11, 2004 12:41 PM Subject: Re: [newbie] Removed secondary hard disk... now what? > Eric Scott wrote: > > - Original Message - > > From: "Bryan Phinney" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, June 11, 2004 9:12 AM > > Subject: Re: [newbie] Removed secondary hard disk... now what? > > > > > > > >>On Friday 11 June 2004 09:50 am, Eric Scott wrote: > >> > >> > >>>Failsafe doesn't work, I already tried that. I can handle getting into > >>>rescue mode via the CD, but how do I edit /etc/fstab and what exactly do > > > > I > > > >>>edit? I'm a real novice here. > >>> Thanx, > >>> ES > > > > > > > > > Thanx... I'm almost ok so far. I figured out that the local HD is hdc, and > > the mandrake partition is hdc6, and I'm almost sure that the hard disk that > > I put in and removed was hdd, 'cause it always stalls while trying to mount > > hdd when I boot. My problem now is getting hdc6 to mount in rescue mode... > > when I try to mount to /mnt/root is says the directory doesn't exist, and > > if I try anyplace else is says: "wrong fs type, bad option, bad superblock > > on /dev/hdc6, or too many mounted file systems" Just to clarify I think > > that this disk is find and hasn't been ruined by any "su newbie mishap" of > > mine, as far as I know... :-P > > Thanx for ur help, I should only need a bit more... that reinstall is > > sounding better and better all the time, but I'd like to actually say "i > > killed and revived" my computer instead of "i killed and lost my computer... > > again" > >ES > > > > > The mount problem is probaly because there isn't a directory called > /mnt/root. (A directory called root in the /mnt directory.) > > One thing to try - At the boot screen, hit the Esc key. You should then > get a list of boot options, and a LILO: prompt. > > Type "linux init=/bin/bash". This should start Linux, and only mount > the root partition. You will get a command prompt, and a limmited > system. You can then edit /etc/fstab and remove the references to > /dev/hdd. Then you can reboot, and all should be well. You will have > to use text editor, like vi, ed, joe, ect. I like to use mc, and the > editor mcedit that is part of the package... > > Mikkel > -- > >Do not meddle in the affairs of dragons, > for you are crunchy and taste good with Ketchup! > > Well... it gave me: "kernel paic: Atempted to kill init!" thanx for ur patience, ES Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Removed secondary hard disk... now what?
Eric Scott wrote: - Original Message - From: "Bryan Phinney" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 11, 2004 9:12 AM Subject: Re: [newbie] Removed secondary hard disk... now what? On Friday 11 June 2004 09:50 am, Eric Scott wrote: Failsafe doesn't work, I already tried that. I can handle getting into rescue mode via the CD, but how do I edit /etc/fstab and what exactly do I edit? I'm a real novice here. Thanx, ES > > Thanx... I'm almost ok so far. I figured out that the local HD is hdc, and the mandrake partition is hdc6, and I'm almost sure that the hard disk that I put in and removed was hdd, 'cause it always stalls while trying to mount hdd when I boot. My problem now is getting hdc6 to mount in rescue mode... when I try to mount to /mnt/root is says the directory doesn't exist, and if I try anyplace else is says: "wrong fs type, bad option, bad superblock on /dev/hdc6, or too many mounted file systems" Just to clarify I think that this disk is find and hasn't been ruined by any "su newbie mishap" of mine, as far as I know... :-P Thanx for ur help, I should only need a bit more... that reinstall is sounding better and better all the time, but I'd like to actually say "i killed and revived" my computer instead of "i killed and lost my computer... again" ES The mount problem is probaly because there isn't a directory called /mnt/root. (A directory called root in the /mnt directory.) One thing to try - At the boot screen, hit the Esc key. You should then get a list of boot options, and a LILO: prompt. Type "linux init=/bin/bash". This should start Linux, and only mount the root partition. You will get a command prompt, and a limmited system. You can then edit /etc/fstab and remove the references to /dev/hdd. Then you can reboot, and all should be well. You will have to use text editor, like vi, ed, joe, ect. I like to use mc, and the editor mcedit that is part of the package... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Removed secondary hard disk... now what?
- Original Message - From: "Bryan Phinney" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 11, 2004 9:12 AM Subject: Re: [newbie] Removed secondary hard disk... now what? > On Friday 11 June 2004 09:50 am, Eric Scott wrote: > > > Failsafe doesn't work, I already tried that. I can handle getting into > > rescue mode via the CD, but how do I edit /etc/fstab and what exactly do I > > edit? I'm a real novice here. > >Thanx, > > ES > > Eric, you might want to keep in mind that no one here is sitting over your > shoulder looking at the partitions on your hard drive, so unless the psychic > computer tech is online, I doubt that anyone is going to be able to tell you > exactly what to edit in the fstab to properly remap the partitions. > > When you physically move a drive on a machine, the hard drive parititions get > renumbered according to their physical placement on the drive. hdc becomes > hda, hdd becomes hdb, etc. Without knowing exactly how the original drives > were partitioned and mapped, I really doubt that we can tell you how to map > them now. > > You need to try to figure out the physical placement of the partitions on the > drive, i.e. first ide drive on 1st ide controller is hda, first partition is > hda1, etc. Once you know that, you can issue the mount command manually from > the rescuecd command prompt. Assuming one ide hard drive attached to the > primary ide controller, and root is on the first partition: > > mount -t reiserfs /dev/hda1 /mnt/root > > If you have a CD attached to the primary controller, of course, that changes > the mapping. Your primary hard drive might be on the secondard controller in > which case it is hdc. If the cdrom is attached first and the ide drive > second, both on the primary ide controller, then the cd is hda and the hard > drive would be hdb. > > Once you get root mounted, you should be able to cd to /mnt/root/etc and edit > the fstab file. When you edit it, you need to change the former settings > of /dev/hd?? to the new correct settings. Then you need to edit the > lilo.conf file to change the parameters to point to the new devices as well. > Then run the command to rewrite the mbr with the altered lilo.conf settings. > it is in /usr/sbin but I can't recall the exact command offhand. > > If what I have written sounds too complex, then the best suggestion that I can > make to you is to reinstall Linux being careful to only format the /usr and / > partitions. You should be able to reinstall without repartitioning the drive > and if you remember the order of the partitions, you can put everything in > the same place and you will only have a new root and usr partition which > should leave your data intact. > > If you don't remember the original partition order, then trying to remap the > partitions manually is going to be an issue as well. > -- > Bryan Phinney > Software Test Engineer > > Thanx... I'm almost ok so far. I figured out that the local HD is hdc, and the mandrake partition is hdc6, and I'm almost sure that the hard disk that I put in and removed was hdd, 'cause it always stalls while trying to mount hdd when I boot. My problem now is getting hdc6 to mount in rescue mode... when I try to mount to /mnt/root is says the directory doesn't exist, and if I try anyplace else is says: "wrong fs type, bad option, bad superblock on /dev/hdc6, or too many mounted file systems" Just to clarify I think that this disk is find and hasn't been ruined by any "su newbie mishap" of mine, as far as I know... :-P Thanx for ur help, I should only need a bit more... that reinstall is sounding better and better all the time, but I'd like to actually say "i killed and revived" my computer instead of "i killed and lost my computer... again" ES > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com > Join the Club : http://www.mandrakeclub.com > > Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Removed secondary hard disk... now what?
On Friday 11 June 2004 09:50 am, Eric Scott wrote: > Failsafe doesn't work, I already tried that. I can handle getting into > rescue mode via the CD, but how do I edit /etc/fstab and what exactly do I > edit? I'm a real novice here. >Thanx, > ES Eric, you might want to keep in mind that no one here is sitting over your shoulder looking at the partitions on your hard drive, so unless the psychic computer tech is online, I doubt that anyone is going to be able to tell you exactly what to edit in the fstab to properly remap the partitions. When you physically move a drive on a machine, the hard drive parititions get renumbered according to their physical placement on the drive. hdc becomes hda, hdd becomes hdb, etc. Without knowing exactly how the original drives were partitioned and mapped, I really doubt that we can tell you how to map them now. You need to try to figure out the physical placement of the partitions on the drive, i.e. first ide drive on 1st ide controller is hda, first partition is hda1, etc. Once you know that, you can issue the mount command manually from the rescuecd command prompt. Assuming one ide hard drive attached to the primary ide controller, and root is on the first partition: mount -t reiserfs /dev/hda1 /mnt/root If you have a CD attached to the primary controller, of course, that changes the mapping. Your primary hard drive might be on the secondard controller in which case it is hdc. If the cdrom is attached first and the ide drive second, both on the primary ide controller, then the cd is hda and the hard drive would be hdb. Once you get root mounted, you should be able to cd to /mnt/root/etc and edit the fstab file. When you edit it, you need to change the former settings of /dev/hd?? to the new correct settings. Then you need to edit the lilo.conf file to change the parameters to point to the new devices as well. Then run the command to rewrite the mbr with the altered lilo.conf settings. it is in /usr/sbin but I can't recall the exact command offhand. If what I have written sounds too complex, then the best suggestion that I can make to you is to reinstall Linux being careful to only format the /usr and / partitions. You should be able to reinstall without repartitioning the drive and if you remember the order of the partitions, you can put everything in the same place and you will only have a new root and usr partition which should leave your data intact. If you don't remember the original partition order, then trying to remap the partitions manually is going to be an issue as well. -- Bryan Phinney Software Test Engineer Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Removed secondary hard disk... now what?
- Original Message - From: "Mikkel L. Ellertson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 09, 2004 8:21 PM Subject: Re: [newbie] Removed secondary hard disk... now what? > Eric Scott wrote: > > > Yo, > > I recently backed up some stuff from on Lintel/Wintel hybrid box to another > > by putting the hard disk from the first computer into the second, copying > > about 250MB of data to the second HD, and then removing it. As I semi > > expected, my Mandrake Linux 9.1 OS went haywire when it realized that it's > > "new secondary HD" had dissapeared again. I've since reformatted the HD > > from the first computer, so I can't just plug it back in and get Linux to > > boot on the second computer. What can I do? I have files backed up on the > > second computer's Linux system, so I can't just reinstall. If I "upgrade" > > overtop of the current linux, as the installer lets u do, will it solve the > > issue? I get an error during boot about "hdd," basically telling me that it > > just might not exist. (Duh, I took it out.) But it won't boot past that. > >Any help? I'm novice to Linux, so please be basic. > >Thanx, > > ES > > > I would try booting with the failsafe boot option. Then edit /etc/fstab > and remove any references to the second hard drive. Then reboot as > normal. If failsafe doesn't boot, try booting off the install CD in the > rescue mode. Or do like I do - have a bookable Linux CD that gives you > a stand-alone Linux system that runs off the CD. > > Mikkel > -- > Do not meddle in the affairs of dragons, > for you are crunchy and taste good with ketchup. > > Failsafe doesn't work, I already tried that. I can handle getting into rescue mode via the CD, but how do I edit /etc/fstab and what exactly do I edit? I'm a real novice here. Thanx, ES > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com > Join the Club : http://www.mandrakeclub.com > > Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Removed secondary hard disk... now what?
On Thursday 10 June 2004 03:21, Mikkel L. Ellertson wrote: > Or do like I do - have a bookable Linux CD What a wonderful typo;) Good luck, HarM Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Removed secondary hard disk... now what?
Eric Scott wrote: Yo, I recently backed up some stuff from on Lintel/Wintel hybrid box to another by putting the hard disk from the first computer into the second, copying about 250MB of data to the second HD, and then removing it. As I semi expected, my Mandrake Linux 9.1 OS went haywire when it realized that it's "new secondary HD" had dissapeared again. I've since reformatted the HD from the first computer, so I can't just plug it back in and get Linux to boot on the second computer. What can I do? I have files backed up on the second computer's Linux system, so I can't just reinstall. If I "upgrade" overtop of the current linux, as the installer lets u do, will it solve the issue? I get an error during boot about "hdd," basically telling me that it just might not exist. (Duh, I took it out.) But it won't boot past that. Any help? I'm novice to Linux, so please be basic. Thanx, ES I would try booting with the failsafe boot option. Then edit /etc/fstab and remove any references to the second hard drive. Then reboot as normal. If failsafe doesn't boot, try booting off the install CD in the rescue mode. Or do like I do - have a bookable Linux CD that gives you a stand-alone Linux system that runs off the CD. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] Removed secondary hard disk... now what?
Yo, I recently backed up some stuff from on Lintel/Wintel hybrid box to another by putting the hard disk from the first computer into the second, copying about 250MB of data to the second HD, and then removing it. As I semi expected, my Mandrake Linux 9.1 OS went haywire when it realized that it's "new secondary HD" had dissapeared again. I've since reformatted the HD from the first computer, so I can't just plug it back in and get Linux to boot on the second computer. What can I do? I have files backed up on the second computer's Linux system, so I can't just reinstall. If I "upgrade" overtop of the current linux, as the installer lets u do, will it solve the issue? I get an error during boot about "hdd," basically telling me that it just might not exist. (Duh, I took it out.) But it won't boot past that. Any help? I'm novice to Linux, so please be basic. Thanx, ES PS: Anybody who's been following my previous posts, I FINALLY got the first comp's drive reinstalled with Windows XP and Linux happilly side by side... but I still need these backup files from the second comp, which has Windows 2000 and Linux side by side. ES PSS: I know everything points to it, but I don't live in the UK!! I live in the US, I just have a British email address and surname. :-P Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com