[opensuse] Screwed up big time
Hello SuSE people, I have done a really dumb thing. I plugged in my new USB hard drive, formatted it ext3 and created 4 partitions on it. Problem was that my 10.3 woulld not boot without it being plugged in. I would have to reboot the machine after I plugged it in to bring the OS up. That was annoying to have it plugged in all of the time and have the drive running uselessly. Here is the stupid part. I went into Yast partitioner and deleted the partitions on the drive thinking I would be able to reconfigure it somehow. Now it boots fine without the drive being plugged in but the drive is no longer found when I do plug it in. I guess I have ruined it. Nothing on it to be seen, Any way to bring this new drive back to life? Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Bob S <911@sanctum.com> [07-04-08 00:05]:
I have done a really dumb thing.
I plugged in my new USB hard drive, formatted it ext3 and created 4 partitions on it. Problem was that my 10.3 woulld not boot without it being plugged in. I would have to reboot the machine after I plugged it in to bring the OS up.
That was annoying to have it plugged in all of the time and have the drive running uselessly. Here is the stupid part. I went into Yast partitioner and deleted the partitions on the drive thinking I would be able to reconfigure it somehow. Now it boots fine without the drive being plugged in but the drive is no longer found when I do plug it in.
I guess I have ruined it. Nothing on it to be seen, Any way to bring this new drive back to life?
only if you promise to *never* do it again! IF you have the *exact* partition information, you can repartiiton the drive *exactly* the way it was and your information will reappear. or, you can try the SystemRecoveryCD, search on google. -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 04 July 2008 12:27:14 am Patrick Shanahan wrote:
* Bob S <911@sanctum.com> [07-04-08 00:05]:
I have done a really dumb thing.
I plugged in my new USB hard drive, formatted it ext3 and created 4 partitions on it. Problem was that my 10.3 woulld not boot without it being plugged in. I would have to reboot the machine after I plugged it in to bring the OS up.
That was annoying to have it plugged in all of the time and have the drive running uselessly. Here is the stupid part. I went into Yast partitioner and deleted the partitions on the drive thinking I would be able to reconfigure it somehow. Now it boots fine without the drive being plugged in but the drive is no longer found when I do plug it in.
I guess I have ruined it. Nothing on it to be seen, Any way to bring this new drive back to life?
only if you promise to *never* do it again!
Thanks to all of you who replied. Patrick, James, Alexy, Mohit, Carlos And, OK Patrick, I really really promise
IF you have the *exact* partition information, you can repartiiton the drive *exactly* the way it was and your information will reappear.
OK, got them back by recreating the partitions.(sigh of relief) I was worried because I didn't see the drive in Yast partitioner. Must have been unplugged or whatever dumb thing I did. Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Take a look into /etc/fstab and find the device (likely /dev/sdc1), "hwinfo --usb" or "mount" for it's mount point. Then edit /etc/fstab add noauto to its EXAMPLE "/media/sdc1 ext3 noauto,acl 0 0" That will stop it from hanging for it at boot. However, you will then need to mount it manually It would be nice if there was a time out to prevent hanging.
On Friday 04 July 2008 12:27:14 am Patrick Shanahan wrote:
* Bob S<911@sanctum.com> [07-04-08 00:05]:
I have done a really dumb thing.
I plugged in my new USB hard drive, formatted it ext3 and created 4 partitions on it. Problem was that my 10.3 woulld not boot without it being plugged in. I would have to reboot the machine after I plugged it in to bring the OS up.
That was annoying to have it plugged in all of the time and have the drive running uselessly. Here is the stupid part. I went into Yast partitioner and deleted the partitions on the drive thinking I would be able to reconfigure it somehow. Now it boots fine without the drive being plugged in but the drive is no longer found when I do plug it in.
I guess I have ruined it. Nothing on it to be seen, Any way to bring this new drive back to life? only if you promise to *never* do it again!
-- 73 de Donn Washburn 307 Savoy Street Email:" n5xwb@windstream.net " Sugar Land, TX 77478 LL# 1.281.242.3256 Ham Callsign N5XWB HAMs : " n5xwb@arrl.net " VoIP via Gizmo: bmw_87kbike / via Skype: n5xwbg BMW MOA #: 4146 - Ambassador " http://counter.li.org " #279316 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Bob S wrote:
Hello SuSE people,
I have done a really dumb thing.
I plugged in my new USB hard drive, formatted it ext3 and created 4 partitions on it. Problem was that my 10.3 woulld not boot without it being plugged in. I would have to reboot the machine after I plugged it in to bring the OS up.
That was annoying to have it plugged in all of the time and have the drive running uselessly. Here is the stupid part. I went into Yast partitioner and deleted the partitions on the drive thinking I would be able to reconfigure it somehow. Now it boots fine without the drive being plugged in but the drive is no longer found when I do plug it in.
I guess I have ruined it. Nothing on it to be seen, Any way to bring this new drive back to life?
Bob S
Something is strange there. I have formatted USB drives several times and never had any problems. Were there any error messages? -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
That was annoying to have it plugged in all of the time and have the drive running uselessly. Here is the stupid part. I went into Yast partitioner and deleted the partitions on the drive thinking I would be able to reconfigure it somehow. Now it boots fine without the drive being plugged in but the drive is no longer found when I do plug it in.
I guess I have ruined it. Nothing on it to be seen, Any way to bring this new drive back to life?
Bob S
What do you mean by "no longer found when I do plug it in"? If you mean that it doesn't open Nautilus window when you plug disk in, then it's OK cause you're deleted all partitions from it. If there's no info about plugged drive in "dmegs" then it's not very good. Try to recreate partitions on pluggable drive, format them and I think everything will be OK. Alexey -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Content-ID:
Hello SuSE people,
I have done a really dumb thing.
I plugged in my new USB hard drive, formatted it ext3 and created 4 partitions on it. Problem was that my 10.3 woulld not boot without it being plugged in. I would have to reboot the machine after I plugged it in to bring the OS up.
That was annoying to have it plugged in all of the time and have the drive running uselessly. Here is the stupid part. I went into Yast partitioner and deleted the partitions on the drive thinking I would be able to reconfigure it somehow. Now it boots fine without the drive being plugged in but the drive is no longer found when I do plug it in.
I guess I have ruined it. Nothing on it to be seen, Any way to bring this new drive back to life?
Well, you deleted the partitions, so there is nothing to see. Once you recreate the partitions you will see them again; just untick in the yast partitioner (in options, I think) for not to mount at boot time. Select also "mount by label" and give each partition a name. In the case of usb, you can also _not_ make entries for the drive in the fstab file: in this case, you have to activate them in kde when plugged. If you had data on those partitions you want to recover, follow Patrick advice. Another tool is "gpart". - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIbhvvtTMYHG2NR9URAnkLAKCZBq0/V0meWQD/Kg4+qxKUel0t3gCgghTl Fp1X/b66AeVHlO0eQygJRuY= =AjIj -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 04 July 2008 08:47:41 am Carlos E. R. wrote:
Content-ID:
I guess I have ruined it. Nothing on it to be seen, Any way to bring this new drive back to life?
Well, you deleted the partitions, so there is nothing to see. Once you recreate the partitions you will see them again; just untick in the yast partitioner (in options, I think) for not to mount at boot time. Select also "mount by label" and give each partition a name.
In the case of usb, you can also _not_ make entries for the drive in the fstab file: in this case, you have to activate them in kde when plugged.
Carlos, and any or all other knowledeable compatriots, As you can see in the other response I have recovered the partitions. But, I still have the problem of not being able to boot without the drive being plugged in. I did select the option to NOT mount at boot time, and I did assign Volume labels for each partition. Because of that it made entries in fstab. Can I just delete those entries from fstab so that it will boot without the drive being plugged in? The drive works as expected on my 10.0 OS. bringing up the "Device Found" windows which I can open and see. Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 07/05/2008 08:50 AM, Bob S wrote:
As you can see in the other response I have recovered the partitions. But, I still have the problem of not being able to boot without the drive being plugged in. I did select the option to NOT mount at boot time, and I did assign Volume labels for each partition. Because of that it made entries in fstab.
Can I just delete those entries from fstab so that it will boot without the drive being plugged in? The drive works as expected on my 10.0 OS. bringing up the "Device Found" windows which I can open and see.
Just add noauto to the options for each one, and it will not try to mount them at boot. Are you not able to boot at all, or are there just errors? No boot may mean /boot/grub/device.map has the drive in it and it is causing confusing. If there are just errors, then the noauto will cure that. For example, LABEL=USBBackup /media/USBBackup ext3 user,noauto,acl,user_xattr 0 0 is a line for my usb backup drive in my fstab. HTH. -- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-07-04 at 20:50 -0400, Bob S wrote:
As you can see in the other response I have recovered the partitions. But, I still have the problem of not being able to boot without the drive being plugged in. I did select the option to NOT mount at boot time, and I did assign Volume labels for each partition. Because of that it made entries in fstab.
Can I just delete those entries from fstab so that it will boot without the drive being plugged in? The drive works as expected on my 10.0 OS. bringing up the "Device Found" windows which I can open and see.
Instead of delete, just coment them out, ie, write a # as the first char of the line. Make sure there are no other lines refering to the same disk from the previous install. However, writing a "noauto" on the options section should be enough. Ah, you need a "0 0" at the end, too. Or perhpas it is "nofail", I haven't tested this. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIb0wctTMYHG2NR9URAniVAJ48apbXJCAsVO6MJbkrgUEkGdfVhgCfQDiK c31Q1SDgPYKP9Q4tRY8VZiE= =GK/3 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 05 July 2008 06:25:31 am Carlos E. R. wrote:
The Friday 2008-07-04 at 20:50 -0400, Bob S wrote:
As you can see in the other response I have recovered the partitions. But, I still have the problem of not being able to boot without the drive being plugged in. I did select the option to NOT mount at boot time, and I did assign Volume labels for each partition. Because of that it made entries in fstab.
Can I just delete those entries from fstab so that it will boot without the drive being plugged in? The drive works as expected on my 10.0 OS. bringing up the "Device Found" windows which I can open and see.
Instead of delete, just coment them out, ie, write a # as the first char of the line. Make sure there are no other lines refering to the same disk from the previous install.
However, writing a "noauto" on the options section should be enough. Ah, you need a "0 0" at the end, too. Or perhpas it is "nofail", I haven't tested this.
Again, thanks to all who responded. I tried the "noauto" option with the "0 0' aat the end as suggested by several respondents. Didn't work. I then commented out the entries in the fstab and all is well again. Thanks Carlos. Now I have a couple more rsync questions. (new thread) Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
<snip>
In the case of usb, you can also _not_ make entries for the drive in the fstab file: in this case, you have to activate them in kde when plugged.
<snip> Carlos, I have a USB drive attached to a PC and in the fstab file it is mounted using /dev/device/by_id. Previously, /dev/sdax format was used. if another drive was added, changing the boot sequence, the wrong drives would be mounted, causing all sorts of problems. Regards. Sudhir -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2008-07-06 at 01:44 +0100, Sudhir wrote:
Carlos,
I have a USB drive attached to a PC and in the fstab file it is mounted using /dev/device/by_id. Previously, /dev/sdax format was used. if another drive was added, changing the boot sequence, the wrong drives would be mounted, causing all sorts of problems.
Correct. I use "label" myself, it makes easier to identify them. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIcKDFtTMYHG2NR9URAoUiAJ0XGvq5Oxs1Bsj5/9qvxBPU5/dSgwCghaP0 Hhx7bSWtk48e3xQMdi+AMNM= =yFMA -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (8)
-
Alexey Matveichev
-
Bob S
-
Carlos E. R.
-
Donn Washburn
-
James Knott
-
Joe Morris
-
Patrick Shanahan
-
Sudhir