my portable hard drive is formatted to ext3 and i connect it to my laptop, however, if i boot the laptop without the hard disk in, it won’t boot and asks me to repair the system (so i’d have to startx as root and delete the fstab entry for it and reboot for example) but i would like it to be able to boot without the drive plugged in, and when i plug it in whilst booted, it then works. yet this doesn’t happen, if i plug it in whilst the machine is logged in, nothing happens. here is my fstab entry for the disk…
I think I did this by changing the last two fields 0 and 0.
Good luck.
thestig wrote:
> my portable hard drive is formatted to ext3 and i connect it to my
> laptop, however, if i boot the laptop without the hard disk in, it won’t
> boot and asks me to repair the system (so i’d have to startx as root and
> delete the fstab entry for it and reboot for example) but i would like
> it to be able to boot without the drive plugged in, and when i plug it
> in whilst booted, it then works. yet this doesn’t happen, if i plug it
> in whilst the machine is logged in, nothing happens. here is my fstab
> entry for the disk…
>
> /dev/disk/by-id/usb-WD_My_Book_WU2T12036227-0:1-part2 /media/mybook
> ext3 user,noacl 1 2
>
>
> any ideas what i need to change so it will boot with it plugged in or
> out, and if it is out, it will work once i plug it in?
>
> thanks in advance.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
I got the same problem upgrading to opensuse 11. I have not at hand my laptop now, I guess that you should add some option on the fstab row telling to the kernel not to stop if the device is detached. Browse the man page of “mount” to find the correct option.
I’m sorry if I can later I’ll be more helpful.
thanks, i will give that a try when i can. for now i have got it to mount it auto if it’s plugged in at boot, but the machine boots with it unplugged so that’s ok, but would be nice to auto mount when i plug the thing in, if i plug the thing in i can still manually mount it of course.
i will get back to you soon and let you know. thanks.
i have managed to get the laptop to start if it’s not plugged in, mount it automatically if it’s plugged in at boot, but i have to manually mount it if i plug it in after the laptop is already on. it’s not perfect but it’ll certainly do for now.