Re: external HDD



Michael Heiming wrote:

In comp.os.linux.misc ivan danicic <ivan@xxxxxxxxxxx>:
Michael Heiming wrote:

In comp.os.linux.misc ivan danicic <ivan@xxxxxxxxxxx>:
Michael Heiming wrote:

In comp.os.linux.misc ivan <ivan@xxxxxxxxxxxx>:
"Michael Heiming" <michael+USENET@xxxxxxxxxxxxxx> wrote in message
news:4mplv3-2d1.ln1@xxxxxxxxxxxxxxxxxx
In comp.os.linux.misc ivan danicic <ivan@xxxxxxxxxxx>:
Robert M. Riches Jr. wrote:
On 2006-10-07, ivan danicic <ivan@xxxxxxxxxxx> wrote:
Michael Heiming wrote:

[ problems accessing USB hd ]


Hello Michael, thanks, I have done what you suggested and it
all ran smoothly BUT now it won't let me boot up. Perhaps this
has nothing to do with the above, but I get the message:
"partition /dev/hda3 is mounted with write permissions,cannot
check it." Then fsck gives "fsck.reiserfs /dev/hda3 failed
(status 0x19).Run manually!" :-( Ivan

Did you modify "/etc/fstab" and perhaps made some mistake? I'd
boot to single user mode or from rescue media, mount "/" of your
distro and check fstab /mnt/sysimage/etc/fstab per default on
RH/Fedora while using the rescue image and it should be mounted
already. Check the docs of your distro.

Personally do not use or recommend reiserfs, but as it is a
journalizing fs it shouldn't need fsck during usually operation at
all. My guess is some mistake in your fstab.

Hello Michael, all your suggestions were correct and the HDD
works fine now; many thanks. I can now only boot up from a
suse rescue disk. Can you suggest any change in this line
from the fstab:

/dev/hda3 / reiserfs defaults 1 1

Looks fine from here, you could change the last "1" to "0" which
should prevent running fsck.

However, I'd try to run 'fsck.reiserfs /dev/hda3' first from the
rescue CD, you might need to remount the device read-only to allow
this. Then reboot to see if this fixes things. You hopefully have
all patches including kernel for your distro installed?

Do you have the "noauto" Tag in the options of you USB HDD entry
in /etc/fstab? Presuming you made one, which might or not be
needed. Some distro handle (auto) mounting of USB devices through
hotplug/udev. But we don't know your distro/kernel version.

Good luck

Hello Michael, I have changed the 1 into 0 but this made
no difference. The suse rescue didn't like that. I have suse 9.1

A bit old, but should work, most likely you haven't installed a
single patch? ;(

The line in fstab concerning the HDD is
/dev/sda5 /mnt/iomega ext2 defaults 1 2

make that "noauto,defaults"
without the " of course.

Thought you had created ext3? Though it shouldn't matter for
mounting you can mount ext3 as ext2 and vice versa.

Booting continues to fail with "fsck.riserfs /dev/hda3 failed"
It's driving me mad!

Did you try running "fsck.reiserfs /dev/hda3" manually from
rescue CD after remounting read-only? What is the output of
'mount' after booting from rescue media? Please post your
complete fstab in addition, so we can have a look.

Hello Michael, running fsck as above gives
Partition /dev/hda3 is mounted with write permissions,
cannot check it.
Here is the "mount" output:
/dev/hda3 on / type reiserfs (ro)
proc on /proc type proc (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda1 on /windows/C type ntfs
(ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
/dev/hdd on /media/cdrecorder type subfs
(ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
/dev/hdc on /media/dvd type subfs
(ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
/dev/fd0 on /media/floppy type subfs
(rw,nosuid,nodev,sync,fs=floppyfss,procuid)
/dev/sda5 on /mnt/iomega type ext2 (rw)
/dev/sda1 on /windows/D type vfat
(rw,noexec,nosuid,nodev,gid=100,umask=0002,iocharset=utf8)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sdb4 on /mnt/zip type vfat (rw,noexec,nosuid,nodev)
----------------------------------------------------
Here is the present fstab:
/dev/hda1 /windows/C ntfs
ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda2 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs
fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvd /media/dvd subfs
fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs
fs=floppyfss,procuid,nodev,nosuid,sync 0 0
/dev/sda5 /mnt/iomega ext2 defaults 1 2
####/dev/sda1 /mnt/iomega auto defaults,users,noauto 0 0
##/dev/sda5 /mnt/iomega subfs rw,users 0 0
/dev/sda1 /windows/C vfat
users,gid=users,umask=0002,iocharset=utf8 0 0
/dev/hda3 / reiserfs defaults 1 1

/dev/sdb4 /mnt/zip vfat noauto,users 0 0
----------------------------------------------------------
I have specified ext2 because I wasn't sure if ext3 is
recognized; I have never even seen this before. Many thanks
for your interest.
Ivan.

.



Relevant Pages

  • Re: external HDD
    ... all ran smoothly BUT now it won't let me boot up. ... RH/Fedora while using the rescue image and it should be mounted ... about patches installed and the fact that almost none ever ... It doesn't let me install them manually. ...
    (comp.os.linux.misc)
  • Re: Flash Drive As "Drive A:"
    ... There is a way to make a bootable Windows rescue disc. ... This is like a BartPE CD on steroids. ... backingup hardisks using USB Hard-drives. ... Using floppy drive to boot DOS or programs is very slow. ...
    (microsoft.public.windowsxp.general)
  • Re: external HDD
    ... all ran smoothly BUT now it won't let me boot up. ... RH/Fedora while using the rescue image and it should be mounted ... The suse rescue didn't like that. ... installs any patch, you haven't installed a single one? ...
    (comp.os.linux.misc)
  • RE: /bin/sh: ro: No such file or directory Kernel panic - not syncing; Attempted to kill init
    ... I'd boot from the rescue cd, mount your partition then chroot to it. ... Nevendon Hall, Nevendon Road, Basildon, Essex. ... Registered Office as above. ...
    (Fedora)
  • Re: Need Help - Reconfigure LILO from rescue CD
    ... lilo.conf & applying the new settings while booted from a rescue cd. ... etc as the boot & root partitions on the ... I get a kernel panic when booting as lilo ... "A personal computer is called a personal computer because it's yours, ...
    (comp.os.linux.setup)