Debian stretch (9) image 1.1 released for B3

Discuss development on Bubba
kennywest
Posts: 3
Joined: 02 Nov 2014, 02:26

Re: Debian stretch (9) image 1.0 released for B3

Post by kennywest » 22 Feb 2018, 01:41

Ok, thanks.

MouettE
Site admin
Posts: 242
Joined: 06 Oct 2011, 19:45

Re: Debian stretch (9) image 1.0 released for B3

Post by MouettE » 25 Mar 2018, 21:53

Small update to the stretch image, to fix mtd modules in the rescue/install system.

pompopom
Posts: 50
Joined: 13 Dec 2012, 16:45

Re: Debian stretch (9) image 1.1 released for B3

Post by pompopom » 26 Mar 2018, 08:22

Kudos for Mouette

skion
Posts: 2
Joined: 24 Jul 2011, 08:18

Re: Debian stretch (9) image 1.1 released for B3

Post by skion » 26 Mar 2018, 16:38

This is brilliant, thanks so much for your work on this MouettE!

postlgue
Posts: 3
Joined: 19 Sep 2016, 06:18

Re: Debian stretch (9) image 1.1 released for B3

Post by postlgue » 29 Mar 2018, 13:20

Hallo,
I am not very experienced in installing software ore operating systems under Linux.

My Excito B3 runs Linux b3 2.6.39.4-11 #1 Tue Apr 3 21:45:12 FET 2012 armv5tel GNU/Linux at the moment.

Is it possible to upgrade directly to Debian stretch (9) from my running OS?

It seems to me that my B3 is not running as well as in past. I use it as NAS with two connrcted USB Drives.

If yes I have two more questions.
Shall # remain in the install.ini for settings to be installed or in other words are comments signed by ## opposit to -for instance- the samba smb.conf file where a line starting with # is a comment.

Can I install Open VPN Server after upgrading?

Many thanks in advance

Kindly regards

erik
Posts: 5
Joined: 22 May 2018, 16:43

Re: Debian stretch (9) image 1.1 released for B3

Post by erik » 22 May 2018, 16:56

Hi
I tried to use this to upgrade my bubba, have been ignoring the fact that the excito os hasnt been supported for a while, but now when I needed to change disk (due to a crash) I thought I could just as well use a fresh image.

However, I run into some issue. The log seems fine, or almost fine, there is an error in the middle. However, the install seems to progress in spite of this

Code: Select all

2016-01-09 10:03:21.891 - ERROR - [sfdisk] Partition #1 contains a ext3 signature.
I am trying to wipe the disk, using the full 3TB disk that I replaced (I already had a 3TB disk, the only difference is the age and that I changed from WD Green to WD Red.)

Everything seems fine until the reboot. Then the LED turns red and I have no clue on why. Reboot again gives the same result.

(I tried to attach install.ini and install.log as files, but I got a strange "Invalid extension" error in the forum attachments box. Adding them below as text)

Would be grateful for any ideas on what went wrong (and how to fix it)

Regards,
Erik

install.ini (non-commented part)

Code: Select all

[general]
image = stretch/b3-stretch-1.0-20170703-2130.txz
copy-network-settings = true
wipe = true
size = full
swap = 512
reboot = true
install.log

Code: Select all

2016-01-09 10:03:19.910 - INFO - Running Excito installer version 2.0 daemon process with pid 113
2016-01-09 10:03:19.912 - INFO - Checking image file /mnt/usb/install/stretch/b3-stretch-1.0-20170703-2130.txz
2016-01-09 10:03:19.918 - INFO - Checking /dev/sdb
2016-01-09 10:03:19.920 - INFO - Running 'fdisk -l /dev/sdb'
2016-01-09 10:03:19.945 - INFO - Running 'sgdisk -p /dev/sdb'
2016-01-09 10:03:19.985 - INFO - Running 'blkid /dev/sdb1'
2016-01-09 10:03:20.70 - INFO - Running 'blkid /dev/sdb2'
2016-01-09 10:03:20.137 - INFO - Running 'sgdisk -i 1 /dev/sdb'
2016-01-09 10:03:20.175 - INFO - Running 'sgdisk -i 2 /dev/sdb'
2016-01-09 10:03:20.214 - INFO - Destination disk: sdb (2.7 TiB, gpt)
2016-01-09 10:03:20.216 - INFO - Wiping existing partition label on sdb
2016-01-09 10:03:20.217 - INFO - Running 'sgdisk -Z /dev/sdb'
2016-01-09 10:03:21.482 - INFO - [sgdisk] GPT data structures destroyed! You may now partition the disk using fdisk or
2016-01-09 10:03:21.484 - INFO - [sgdisk] other utilities.
2016-01-09 10:03:21.486 - INFO - Creating GPT label, system 2794.0 GiB size partition and swap 512.0 MiB size on sdb
2016-01-09 10:03:21.487 - INFO - Running 'sfdisk /dev/sdb' with this input: label: gpt|,2794.0GiB,L|,,S|
2016-01-09 10:03:21.881 - INFO - [sfdisk] Checking that no-one is using this disk right now ... OK
2016-01-09 10:03:21.882 - INFO - [sfdisk] 
2016-01-09 10:03:21.883 - INFO - [sfdisk] Disk /dev/sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
2016-01-09 10:03:21.884 - INFO - [sfdisk] Units: sectors of 1 * 512 = 512 bytes
2016-01-09 10:03:21.886 - INFO - [sfdisk] Sector size (logical/physical): 512 bytes / 4096 bytes
2016-01-09 10:03:21.887 - INFO - [sfdisk] I/O size (minimum/optimal): 4096 bytes / 4096 bytes
2016-01-09 10:03:21.888 - INFO - [sfdisk] 
2016-01-09 10:03:21.889 - INFO - [sfdisk] >>> Script header accepted.
2016-01-09 10:03:21.891 - ERROR - [sfdisk] Partition #1 contains a ext3 signature.
2016-01-09 10:03:21.890 - INFO - [sfdisk] >>> Created a new GPT disklabel (GUID: 640058B6-1B57-4678-A020-4C2A8B52E25F).
2016-01-09 10:03:21.893 - INFO - [sfdisk] /dev/sdb1: Created a new partition 1 of type 'Linux filesystem' and of size 2.7 TiB.
2016-01-09 10:03:21.894 - INFO - [sfdisk] /dev/sdb2: Created a new partition 2 of type 'Linux swap' and of size 531.5 MiB.
2016-01-09 10:03:21.895 - INFO - [sfdisk] /dev/sdb3: Done.
2016-01-09 10:03:21.896 - INFO - [sfdisk] 
2016-01-09 10:03:21.897 - INFO - [sfdisk] New situation:
2016-01-09 10:03:21.898 - INFO - [sfdisk] 
2016-01-09 10:03:21.900 - INFO - [sfdisk] Device          Start        End    Sectors   Size Type
2016-01-09 10:03:21.901 - INFO - [sfdisk] /dev/sdb1        2048 5859444735 5859442688   2.7T Linux filesystem
2016-01-09 10:03:21.902 - INFO - [sfdisk] /dev/sdb2  5859444736 5860533134    1088399 531.5M Linux swap
2016-01-09 10:03:21.903 - INFO - [sfdisk] 
2016-01-09 10:03:21.904 - INFO - [sfdisk] The partition table has been altered.
2016-01-09 10:03:21.905 - INFO - [sfdisk] Calling ioctl() to re-read partition table.
2016-01-09 10:03:21.906 - INFO - [sfdisk] Syncing disks.
2016-01-09 10:03:21.907 - INFO - Disk looking good, proceed with formatting
2016-01-09 10:03:21.908 - INFO - Formatting system partition
2016-01-09 10:03:21.909 - INFO - Running 'mkfs.ext3 -Fq /dev/sdb1'
2018-05-22 08:17:41.619 - INFO - Formatting swap partition
2018-05-22 08:17:41.622 - INFO - Running 'mkswap -f /dev/sdb2'
2018-05-22 08:17:41.819 - INFO - [mkswap] Setting up swapspace version 1, size = 531.4 MiB (557252608 bytes)
2018-05-22 08:17:41.821 - INFO - [mkswap] no label, UUID=09b38ad1-983b-4e38-ad98-ce6daf54893e
2018-05-22 08:17:41.823 - INFO - Mounting system partition
2018-05-22 08:17:41.824 - INFO - Running 'mount /dev/sdb1 /mnt/target'
2018-05-22 08:17:42.151 - INFO - Extracting image file to target
2018-05-22 08:17:42.153 - INFO - Running 'tar -xf /mnt/usb/install/stretch/b3-stretch-1.0-20170703-2130.txz -C /mnt/target'
2018-05-22 08:18:59.553 - INFO - Copying resolv.conf to the target
2018-05-22 08:18:59.557 - INFO - Generating network settings to target with image-supplied template
2018-05-22 08:18:59.560 - INFO - Umounting system partition
2018-05-22 08:18:59.562 - INFO - Running 'umount /mnt/target'
2018-05-22 08:19:00.899 - INFO - System successfully installed
2018-05-22 08:19:00.901 - INFO - install done; rebooting system

MouettE
Site admin
Posts: 242
Joined: 06 Oct 2011, 19:45

Re: Debian stretch (9) image 1.1 released for B3

Post by MouettE » 23 May 2018, 09:27

Hello,

I'll try to help you debug this.

First, the ext3 signature error is not relevant, it's just a warning that there is exisiting data on the disk getting wiped.

Do you know which version of u-boot your b3 is running ? If not can you run the rescue system and give the output of this command :

Code: Select all

strings /dev/mtd0 | grep -i u-boot

erik
Posts: 5
Joined: 22 May 2018, 16:43

Re: Debian stretch (9) image 1.1 released for B3

Post by erik » 23 May 2018, 14:07

Thanks, really appreciated. It seems version is 2010.06.

Code: Select all

[root@b3-install ~]# strings /dev/mtd0 | grep -i u-boot
U-Boot 2010.06 (Jun 10 2011 - 09:06:51)
U-Boot
** Invalid partition type "%.32s" (expect "U-Boot")
u-boot
flashfile=u-boot.kwb
[root@b3-install ~]#
EDIT: I tried the default disk size and then upped to 2000 (G) and it works!
So it has something to do with the disk size. Either the full setting is not working properly or something gets too big for some system part at 2.7TB, but not at 2.0TB
Last edited by erik on 23 May 2018, 14:39, edited 1 time in total.

MouettE
Site admin
Posts: 242
Joined: 06 Oct 2011, 19:45

Re: Debian stretch (9) image 1.1 released for B3

Post by MouettE » 23 May 2018, 14:29

OK that seems fine. I need to run a couple of tests at home to try identify the cause of the red led. I'll get back to you in a couple of days.

erik
Posts: 5
Joined: 22 May 2018, 16:43

Re: Debian stretch (9) image 1.1 released for B3

Post by erik » 24 May 2018, 11:18

And as follow up, I tried with size = 2600. This also resulted in a failed boot.

Could it be related to this?:
http://wiki.excito.com/w/index.php?titl ... _3TB_disks

Seems a bit weird since I already used a 3TB disk with the old excito OS dist, but the issue indeed seems to occur for a disk size above 2TB.

It doesnt tell which version of uboot you need to support 3TB or what version is provided by the install package, so I would only know by trying to use it. Any advice?

MouettE
Site admin
Posts: 242
Joined: 06 Oct 2011, 19:45

Re: Debian stretch (9) image 1.1 released for B3

Post by MouettE » 24 May 2018, 11:32

The version you use is the version mentioned in the wiki. So this should not be a problem.

Just to be sure, when you try to boot what is the led pattern ? (purple then red or is it another sequence)

MouettE
Site admin
Posts: 242
Joined: 06 Oct 2011, 19:45

Re: Debian stretch (9) image 1.1 released for B3

Post by MouettE » 24 May 2018, 11:37

I just saw your edited comment, good news.

So with the default disk size, you get a 10g root, and it boots. Then you grew it to 2T and it still works. When you grow it above the 2T limit, the b3 won't boot anymore ?

erik
Posts: 5
Joined: 22 May 2018, 16:43

Re: Debian stretch (9) image 1.1 released for B3

Post by erik » 24 May 2018, 12:40

Yes, more or less. I havent tried anything between 2000 and 2600.

I also havent paid attention to the led sequence at initial reboot, it follows a long time setting up the system. Additional reboot after the first does have a purple LED followed by the red LED.

MouettE
Site admin
Posts: 242
Joined: 06 Oct 2011, 19:45

Re: Debian stretch (9) image 1.1 released for B3

Post by MouettE » 24 May 2018, 15:41

It's likely that U-Boot doesn't like too large ext3 filesystems. You could try to flash to the rodeus version available at http://install.excito.org/b3/uboot/beta/ using the instructions on the wiki page you mentioned earlier. It's more recent so it may work. I don't have 3tb drive to test it.

erik
Posts: 5
Joined: 22 May 2018, 16:43

Re: Debian stretch (9) image 1.1 released for B3

Post by erik » 01 Jun 2018, 17:03

Hi
It didnt help. In the end, I settled for a 10G boot partition and then added a "data partition" that I mounted on /home

It makes use of all the disk, and the main purpose of having all those 3TB was anyway for users data. Hopefully the 10G will always be enough for whatever services I want, as long as I keep the bulk of the data in /home

Thanks for your help

//Erik

Post Reply