Re: second hard disk on Thecus N2100

2007-11-11 Thread Steve Gane

Thomas Winter wrote:
Also I am concerned that if I change to uuid and the hard disk goes defect I 
can not change to another hard disk.


  

In that case, instead of using UUID, label your disk (using tune2fs or whatever)
and change fstab to mount by label, something like this:

tune2fs -L MyRootFS /dev/sda1
(assuming your root partition is /dev/sda1 and it's ext2 or ext3)

Then mount it something like this in FSTAB:
LABEL=MyRootFS  /  ext3  defaults,errors=remount-ro  0  1
(Just like the web page says, but use LABEL= instead of UUID=)

I haven't had to do it on my N2100 (it had 2 drives from the start) but
I used to do just this on my NSLU2 and it worked a treat.

Steve


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: second hard disk on Thecus N2100

2007-11-11 Thread Martin Michlmayr
* Thomas Winter [EMAIL PROTECTED] [2007-11-10 20:22]:
 Also Iam concerned that if I change to uuid and the hard disk goes
 defect I can not change to another hard disk.

LABEL is probably the way to go then, as someone just suggested.

 Can I expect that serial console is working?

Yeah.

Also, did you upgrade your firmware before installing Debian so you
can telnet to RedBoot?
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



second hard disk on Thecus N2100

2007-11-10 Thread Thomas Winter
Hi,
am running debian etch on Thecus N2100 with one SATA disk.
I tried to add an second SATA, but Thecus did not boot, nothing in syslog.

Any trick to add an second hard disk?

thanks
Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: second hard disk on Thecus N2100

2007-11-10 Thread Thomas Winter
On Saturday 10 November 2007 18:51, you wrote:
 * Thomas Winter [EMAIL PROTECTED] [2007-11-10 18:34]:
  am running debian etch on Thecus N2100 with one SATA disk.  I tried
  to add an second SATA, but Thecus did not boot, nothing in syslog.
 
  Any trick to add an second hard disk?

 Hard to tell without any logs, but I guess the box tried to mount root
 on the wrong disk and failed.  Remove the 2nd drive again, and update
 /etc/fstab to use UUID.  Read section The slug fails to reboot with 2
 drives connected at http://www.nslu2-linux.org/wiki/Debian/TroubleShooting
 for some instructions. (This is for the Linksys NSLU2 but the same
 applies to the Thecus N2100.)

thanks, that could be the case

I tried
#update-initramfs -u
I got this message
/boot/initrd.img-2.6.18-4-iop32x has been altered. Cannot update.

# aptitude upgrade
The following packages have been kept back:
  linux-image-2.6-iop32x


Also Iam concerned that if I change to uuid and the hard disk goes defect I 
can not change to another hard disk.

Can I expect that serial console is working? I did not solder an connector to 
the pcb until now and did not test.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]