New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Debian jessie image 1.0 released for Bubba|2 / B3

Discuss development on Bubba
Tweety
Posts: 7
Joined: 02 Jul 2013, 07:28

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by Tweety »

mdz wrote:I currently have a B3 based on the Wheezy image (thanks, MouettE!). Is there a feasible way to upgrade what I have to Jessie without wiping out that root partition? Or perhaps a clean way to find all of the packages I've installed manually, and the configuration changes I've made, so that I could install the new Jessie image, and then immediately re-install my packages and config changes on top of it?
Just follow the instruction posted on the link above and make your own jailroot and install whatever packages you want, and then when you have all your stuff current, zip it up and install it... It also gives you a backup install drive...
beatgr
Posts: 48
Joined: 01 Feb 2009, 15:25

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by beatgr »

Mouette -

Here is the Install.log from my attempt with BUBBA|2 to upgrade (Jessie).
Only change I made to Install.ini was to change WIPE = FALSE
** obviously an issue with partition boundaries **

2016-09-18 07:04:17.563 - INFO - Running Excito installer version 1.0 daemon process with pid 115
2016-09-18 07:04:17.569 - INFO - Checking image file /mnt/usb/install/jessie/bubbatwo-jessie-1.0-20151202-1337.txz
2016-09-18 07:04:17.586 - INFO - Checking /dev/sdb
2016-09-18 07:04:17.589 - INFO - Running 'fdisk -l /dev/sdb'
2016-09-18 07:04:17.641 - ERROR - [fdisk] Partition 1 does not start on physical sector boundary.
2016-09-18 07:04:17.644 - ERROR - [fdisk] Partition 2 does not start on physical sector boundary.
2016-09-18 07:04:17.652 - INFO - Running 'blkid /dev/sdb1'
2016-09-18 07:04:17.757 - INFO - Running 'blkid /dev/sdb2'
2016-09-18 07:04:17.850 - INFO - Destination disk: sdb (1.8 TiB, mbr)
2016-09-18 07:04:17.855 - INFO - Using existing system partition (sdb1, size: 9.3 GiB)
2016-09-18 07:04:17.858 - ERROR - Missing usable swap partition on sdb
2016-09-18 07:50:00.513 - INFO - Running Excito installer version 1.0 daemon process with pid 114
2016-09-18 07:50:00.519 - INFO - Checking image file /mnt/usb/install/jessie/bubbatwo-jessie-1.0-20151202-1337.txz
2016-09-18 07:50:00.536 - INFO - Checking /dev/sdb
2016-09-18 07:50:00.539 - INFO - Running 'fdisk -l /dev/sdb'
2016-09-18 07:50:00.591 - ERROR - [fdisk] Partition 1 does not start on physical sector boundary.
2016-09-18 07:50:00.594 - ERROR - [fdisk] Partition 2 does not start on physical sector boundary.
2016-09-18 07:50:00.601 - INFO - Running 'blkid /dev/sdb1'
2016-09-18 07:50:00.701 - INFO - Running 'blkid /dev/sdb2'
2016-09-18 07:50:00.794 - INFO - Destination disk: sdb (1.8 TiB, mbr)
2016-09-18 07:50:00.799 - INFO - Using existing system partition (sdb1, size: 9.3 GiB)
2016-09-18 07:50:00.802 - ERROR - Missing usable swap partition on sdb
====
greg
MouettE
Site admin
Posts: 341
Joined: 06 Oct 2011, 19:45

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by MouettE »

The alignment is a warning of fdisk (displays as error in the log because it's written on the error output of fdisk command) and it shouldn't prevent the installer from finding the partitions. It cannot find the swap partition that's why it cannot continue.

From the rescue system, can you paste here the output of the command

Code: Select all

fdisk -l /dev/sdb
beatgr
Posts: 48
Joined: 01 Feb 2009, 15:25

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by beatgr »

Running from Gentoo BUBBA|2 Live Release (USB Stick)

| Welcome to Gentoo Linux for the B2 miniserver! |
| Live-USB maintainer: sakaki <sakaki@deciban.com> |

b2 ~ # fdisk -l /dev/sda

Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device Boot Start End Sectors Size Id Type
/dev/sda1 63 19551104 19551042 9.3G 83 Linux
/dev/sda2 19551105 3904325144 3884774040 1.8T 8e Linux LVM

Partition 2 does not start on physical sector boundary.

Partition 3 does not start on physical sector boundary.
===
b2 ~ # fdisk -l /dev/sdb

Disk /dev/sdb: 59.6 GiB, 64016220160 bytes, 125031680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbbf82d16

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 133119 131072 64M 6 FAT16
/dev/sdb2 133120 2230271 2097152 1G 82 Linux swap / Solaris
/dev/sdb3 2230272 14813183 12582912 6G 83 Linux
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by Gordon »

Funny how sda and sdb are reversed depending on which USB stick you are using. But the problem appears obvious: the hard drive in your B2 does not contain a swap partition. Which should be the third partition when it was partitioned by the original Excito installer, but you really want this partition to be much further to the front of your disk for better performance.
beatgr
Posts: 48
Joined: 01 Feb 2009, 15:25

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by beatgr »

But the problem appears obvious: the hard drive in your B2 does not contain a swap partition.
Correct. This was installation from the standard Excito BUBBA|2 image (USB),
when I upgraded to the 2 TB hard drive (WD Red) about 4 years ago.

greg
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by Gordon »

As stated: if this was a default Excito install there should have been a swap partition /dev/sda3. Where did it go?
beatgr
Posts: 48
Joined: 01 Feb 2009, 15:25

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by beatgr »

I have no idea, never checked the BUBBA|2 partition table -- after I changed hard drives.
Used the standard Excito USB boot image and installed on empty (new) drive.

greg
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by Gordon »

Well, you could check your disk if it still has room for a third partition and create it when it does. Otherwise you'll need to repartition it completely. Which isn't such a bad idea at all, because apart from the misplaced swap partition the root partition is quite tiny.
beatgr
Posts: 48
Joined: 01 Feb 2009, 15:25

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by beatgr »

OKAY, finished back-ups and ready to wipe 2 TB drive for an OS upgrade.

I booted Live Gentoo USB for BUBBA|2 and
then decided to install it to check out its overall operation.
A bit of a learning curve for my Debian/Ubuntu fingers ....
Gentoo incorrectly adjusted the time for Central US, Daylight Saving Time.
Gentoo set BUBBA|2 as Central Standard Time.

This process did create 3 partitions on the hard drive.
====
This afternoon, I decided to again try the Debian Jessie 1.0 image for BUBBA|2.
Installation went well, fairly quickly.

A few "notes", so far:

1. Remember to log-in as SuperUser "su" for these 2 commands:
dpkg-reconfigure locales
dpkg-reconfigure tzdata

2. Partitioning of the hard drive was interesting.
Installation script only created 2 partitions, using wipe (no FAT partition).
This hard drive had three (3) partitions from the previous Gentoo install.

root@bubbatwo:~# fdisk -l

Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xe718bd48

Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 20973567 20971520 10G 83 Linux
/dev/sda2 20973568 22022143 1048576 512M 82 Linux swap / Solaris
===
As noted by MouettE, this is a minimal kernel install (OpenSSH installed, no Samba).
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by Gordon »

I think you are supposed to create the data/storage partition yourself, where you can than choose to make it either a regular partition or an LVM and what kind of formatting you like on it (ext3|4, btrfs?)

But I really do think 10G is a bit small for root. Depending on what applications you are going to use (MySQL?) you should at least double that.
DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by DanielM »

Hi all!
I haven't been around anything for the last few years. Happy to see this community is still living!

My old B3 has been acting off-site-backup, positioned in my parents home. Haven't touched it for years. Then last week I couldn't reach it anymore and it refused to boot when I tried. Without any further research I concluded that the old disk probably died. So I bought a new disk (a WD blue 500GB) and I'm now trying to do a full reinstall using the images in this thread. It doesn't look like I'm succeeding so I thought I'd ask some questions.

Firstly, I unpacked the zip in the root of my fat formatted usb key, so the usb key root now contains an install directory with the other files in. Is that correct?

Secondly, what does the purple blink mean? I thought it meant installation was in progress, but after 16 hours blinking I doubt it's still installing.

I'll try searching the forum for a bit as well, but an answer here would be much more fun :D

/Daniel

edit: Ha! After waiting some more hours I got the time to do a forum search and found out that purple blink probably wasn't something. Found and old 2GB stick (instead of the 64GB I tried first) and everything was installed in under 10 minutes. Thanks MouettE for the time you've put in making this image! Now I'm off to configure the system up :D
Stryker
Posts: 56
Joined: 17 Oct 2013, 11:03

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by Stryker »

If you have the option to connect the drive to another computer and some knowledge on how a linux system works, I recommend partitioning it manually.
You can create the partitions on the other PC and then simply extract the archive onto the first partition of the disk (mountpoint "/").

My disk is partitioned as follows:
  1. root-fileystem, 10GiB, ext3 (bootloader doesn't work with ext4 for some reason)
  2. swap-space, 1024MiB
  3. data mounted at /home or /srv, remaining free space, either use ext4 or an lvm-pv for lvm
Binkem
Posts: 388
Joined: 10 Jul 2008, 02:26

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by Binkem »

Hi,

I installed the image and got my B3 running fine. Now I wanted to add some rules to the firewall to get openvpn te run.
The Wiki says:
now enter /etc/network and edit the firewall.conf, add following:


-A INPUT -i tun+ -j ACCEPT
-A FORWARD -i tun+ -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 1194 -j ACCEPT
I cannot find /etc/network/firewall.conf

If I try to access the firewall I get the following reply:
root@b3:/home/excito# iptables -V
iptables v1.4.21
iptables -S
modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could not open moddep file '/lib/modules/3.18.24-1/modules.dep.bin'
iptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Can anyone tell me what's wrong?
MouettE
Site admin
Posts: 341
Joined: 06 Oct 2011, 19:45

Re: Debian jessie image 1.0 released for Bubba|2 / B3

Post by MouettE »

First I would suggest you upgrade your os (apt-get update ; apt-get dist-upgrade), it should solve your problem.

Concerning your module issue, try running depmod -a
Post Reply