Comments on: Can’t no more install FreeNAS https://www.truenas.com/blog/cant-no-more-install-freenas/ Fri, 16 Feb 2024 17:54:39 +0000 hourly 1 https://wordpress.org/?v=6.4.4 By: Bit Ripper https://www.truenas.com/blog/cant-no-more-install-freenas/#comment-4796 Mon, 28 Feb 2011 10:35:31 +0000 http://www.freenas.org/whats-new/2007/03/cant-no-more-install-freenas.html#comment-4796 I hope I saw this earlier.

Just for the record, we found this independently and I have fixed it for both FreeBSD and NetBSD (FreeBSD r213044). It would be great if we see some more vocal voice saying “Hey you broke X”, which really helps us to fix bugs earlier.

]]>
By: (OlO) https://www.truenas.com/blog/cant-no-more-install-freenas/#comment-4795 Sun, 08 Mar 2009 15:52:00 +0000 http://www.freenas.org/whats-new/2007/03/cant-no-more-install-freenas.html#comment-4795 I’ve had the exact same problem… I solved it by unpluging USB at run and then plugin again. USB was now da1 not da0, then I’ve run instalation again and suddenly everything was OK

]]>
By: Olivier https://www.truenas.com/blog/cant-no-more-install-freenas/#comment-4794 Mon, 19 Mar 2007 20:33:00 +0000 http://www.freenas.org/whats-new/2007/03/cant-no-more-install-freenas.html#comment-4794 The problem came for the new gzip tools (imported from NetBSD since january).

I’ve found the same problem under NetBSD here:
http://mail-index.netbsd.org/tech-userlevel/2004/07/08/0008.html

I’ve send an email to the author of this new gzip tools about this problem.

]]>
By: Olivier https://www.truenas.com/blog/cant-no-more-install-freenas/#comment-4793 Mon, 19 Mar 2007 10:13:00 +0000 http://www.freenas.org/whats-new/2007/03/cant-no-more-install-freenas.html#comment-4793 Ok, I think that I found my problem… It’s seem to came from gunzip that where replaced by gzip.

Here is what I did:

I believe that the problem came from ‘dd’ tools, then I try to use the 0.683b CDROM (that use an old ‘dd’ tools)
for installing my image (previously copied from the 0.684b on the ad1s1 drive).

And from a SSH access to this ‘boot from 0.683b CDROM’
# mkdir /mnt/toto
# mount /dev/ad1s1 /mnt/toto/
# cd /mnt/toto/
# /usr/bin/gunzip -S “” -c FreeNAS-generic-pc.gz | dd of=/dev/ad0 bs=512
45056+0 records in
45056+0 records out
23068672 bytes transferred in 35.672522 secs (646679 bytes/sec)

=> No more error message “Invalid argument”… It’s seem good

Then I check the newly installed drive:

# mkdir /mnt/test
# mount /dev/ad0a /mnt/test/
# ls -alh /mnt/test/
total 15293
drwxr-xr-x 5 root wheel 512B Mar 18 16:11 .
drwxr-xr-x 4 root wheel 512B Mar 19 10:30 ..
drwxrwxr-x 2 root operator 512B Mar 18 16:11 .snap
drwxr-xr-x 4 root wheel 512B Mar 18 16:11 boot
drwxr-xr-x 2 root wheel 512B Mar 18 16:11 conf
-rw-r–r– 1 root wheel 15M Mar 18 16:11 mfsroot.gz

=> no error message “bad descriptor” here… It’s seem very good

then I’ve try to check for difference between the 0.683b and the working 0.684b release:

On the 0.683b:

# sysctl kern.version
kern.version: FreeBSD 6.2-PRERELEASE #0: Sat Jan 13 20:03:15 CET 2007
root@vm.freenas.org:/usr/src/sys/i386/compile/FREENAS

# ls -al /bin/dd
-r-xr-xr-x 1 root wheel 18768 Jan 13 18:08 /bin/dd

# ls -al /usr/bin/gunzip
-r-xr-xr-x 2 root wheel 46716 Jan 13 18:08 /usr/bin/gunzip

And on the 0.684b:


# sysctl kern.version
kern.version: FreeBSD 6.2-STABLE #6: Sun Mar 18 13:27:38 UTC 2007
root@dev.freenas.org:/usr/obj/usr/src/sys/FREENAS

# ls -al /bin/dd
-r-xr-xr-x 1 root wheel 18768 Mar 18 11:44 /bin/dd

# ls -al /usr/bin/gunzip
lrwxr-xr-x 1 root wheel 13 Mar 18 13:04 /usr/bin/gunzip -> /usr/bin/gzip

# ls -al /usr/bin/gzip
-r-xr-xr-x 1 root wheel 26748 Mar 18 11:49 /usr/bin/gzip

Ho ho…. gunzip where replaced by gzip!

]]>