Debian Bullseye for OpenFrame
Re: Debian Bullseye for OpenFrame
I installed it a while ago on my Openframe 2 box with a Avaya boot flash rom. All of my Jogglers / Openframe boxes now use the Avaya or Seabios boot.
The 1Gb and 2 Gb machines would work fine if I did not update them then fail with errors after updating. Gone now to only using USB sticks for Bullseye.
The 1Gb and 2 Gb machines would work fine if I did not update them then fail with errors after updating. Gone now to only using USB sticks for Bullseye.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bullseye for OpenFrame
Thanks for your response Pete
I too use usb sticks but would have appreciated more feedback
Ah well !....sigh
ronnie
I too use usb sticks but would have appreciated more feedback
Ah well !....sigh
ronnie
Re: Debian Bullseye for OpenFrame
Well thinking that an old version of Bullseye is on the Openframe 2 so will install it new to the 2Gb eMMC in the next couple of days.
And tell you how it goes.
Just had a look and will mount it...
root@openframe:/media# df -h
Filesystem Size Used Avail Use% Mounted on
udev 243M 0 243M 0% /dev
tmpfs 50M 2.8M 47M 6% /run
/dev/sda2 29G 799M 26G 3% /
tmpfs 246M 0 246M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 192M 28K 192M 1% /tmp
tmpfs 256M 3.5M 253M 2% /var/cache/apt
tmpfs 256M 0 256M 0% /var/lib/apt/lists
tmpfs 16M 316K 16M 2% /var/log
/dev/sda1 41M 14M 28M 34% /boot
tmpfs 50M 0 50M 0% /run/user/0
root@openframe:/dev# mkdir /mnt/stuff
root@openframe:/dev# mount /mmcblk2p2 /mnt/stuff
mount: /mnt/stuff: special device /mmcblk2p2 does not exist.
root@openframe:/dev# mount /dev/mmcblk2p2 /mnt/stuff
root@openframe:/dev# cd /mnt/stuff
root@openframe:/mnt/stuff# ls
bin dev home lib64 lost+found mnt proc run srv tmp var
boot etc lib libx32 media opt root sbin sys usr
root@openframe:/mnt/stuff#
Well pulled the USB stick and watched it boot...boots to a command prompt fine. I did use "reflash" to do this a few months ago.
That said now remember that I replaced the combo mini pcie card with this one on Amazon. It is working fine.
7260HMW WiFi Card, Dual Band Wireless-AC 7260 Mini PCIe Network Adapter with Bluetooth 4.0 Support Windows 10, Windows 8, Windows 7, WiFi Module Work with Laptop/Notebook
https://www.amazon.com/gp/product/B09H5 ... UTF8&psc=1
I used a plastic wedge tools to pry up the touchscreen and take apart the Openframe.
And tell you how it goes.
Just had a look and will mount it...
root@openframe:/media# df -h
Filesystem Size Used Avail Use% Mounted on
udev 243M 0 243M 0% /dev
tmpfs 50M 2.8M 47M 6% /run
/dev/sda2 29G 799M 26G 3% /
tmpfs 246M 0 246M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 192M 28K 192M 1% /tmp
tmpfs 256M 3.5M 253M 2% /var/cache/apt
tmpfs 256M 0 256M 0% /var/lib/apt/lists
tmpfs 16M 316K 16M 2% /var/log
/dev/sda1 41M 14M 28M 34% /boot
tmpfs 50M 0 50M 0% /run/user/0
root@openframe:/dev# mkdir /mnt/stuff
root@openframe:/dev# mount /mmcblk2p2 /mnt/stuff
mount: /mnt/stuff: special device /mmcblk2p2 does not exist.
root@openframe:/dev# mount /dev/mmcblk2p2 /mnt/stuff
root@openframe:/dev# cd /mnt/stuff
root@openframe:/mnt/stuff# ls
bin dev home lib64 lost+found mnt proc run srv tmp var
boot etc lib libx32 media opt root sbin sys usr
root@openframe:/mnt/stuff#
Well pulled the USB stick and watched it boot...boots to a command prompt fine. I did use "reflash" to do this a few months ago.
That said now remember that I replaced the combo mini pcie card with this one on Amazon. It is working fine.
7260HMW WiFi Card, Dual Band Wireless-AC 7260 Mini PCIe Network Adapter with Bluetooth 4.0 Support Windows 10, Windows 8, Windows 7, WiFi Module Work with Laptop/Notebook
https://www.amazon.com/gp/product/B09H5 ... UTF8&psc=1
I used a plastic wedge tools to pry up the touchscreen and take apart the Openframe.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
Re: Debian Bullseye for OpenFrame
OK installed latest version of Bullseye on the Openframe 2.
bul-ext2-1028-43-bullseye-5.10.158op
Went well. Some steps that I did.
1 - enabled the new Intel WiFi combo bluetooth card. Works well.
sudo apt install firmware-iwlwifi
sudo modprobe -r iwlwifi
sudo modprobe iwlwifi
sudo dmesg
2 - configured boot yaml file with WLAN SSID and password IE: /boot/network.yaml
3 - still static from main speakers and no sound from main speakers
Fixed the static by editing following file.
sudo nano /etc/modprobe.d/alsa-base.conf
and added this which got rid of the static.
options snd-hda-intel model=generic
4 - installed script manually line by line copying and pasting script to text file first then running it line by line. x windows and squeezeplayer installed fine.
5 - Did not expand to 2Gb and left it alone for now.
6 - Shutdown just restarts Squeezeplayer
7 - Reboot just restarts Squeezeplayer
Works the same as with 32Gb stick. Will leave it for now.
Sound works via earphone jack just fine.
Pushing space a bit so expanding it to the 2Gb.
Way I do this is just boot up and ssh with x options, install gparted and run it via SSH.
bul-ext2-1028-43-bullseye-5.10.158op
Went well. Some steps that I did.
1 - enabled the new Intel WiFi combo bluetooth card. Works well.
sudo apt install firmware-iwlwifi
sudo modprobe -r iwlwifi
sudo modprobe iwlwifi
sudo dmesg
2 - configured boot yaml file with WLAN SSID and password IE: /boot/network.yaml
3 - still static from main speakers and no sound from main speakers
Fixed the static by editing following file.
sudo nano /etc/modprobe.d/alsa-base.conf
and added this which got rid of the static.
options snd-hda-intel model=generic
4 - installed script manually line by line copying and pasting script to text file first then running it line by line. x windows and squeezeplayer installed fine.
5 - Did not expand to 2Gb and left it alone for now.
6 - Shutdown just restarts Squeezeplayer
7 - Reboot just restarts Squeezeplayer
Works the same as with 32Gb stick. Will leave it for now.
Sound works via earphone jack just fine.
Code: Select all
root@openframe:/home/of# df -h
Filesystem Size Used Avail Use% Mounted on
udev 243M 0 243M 0% /dev
tmpfs 50M 2.1M 48M 5% /run
/dev/mmcblk2p2 923M 799M 78M 92% /
tmpfs 246M 0 246M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 192M 28K 192M 1% /tmp
tmpfs 256M 0 256M 0% /var/lib/apt/lists
tmpfs 256M 0 256M 0% /var/cache/apt
tmpfs 16M 244K 16M 2% /var/log
/dev/mmcblk2p1 41M 14M 28M 34% /boot
tmpfs 50M 0 50M 0% /run/user/1000
Way I do this is just boot up and ssh with x options, install gparted and run it via SSH.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bullseye for OpenFrame
Thanks for all the info Pete.
I'll try and find out why I get the "image not recognised" message.
I think I read somewhere, that doing the "blind typing" exercise may restore things.
I'm thinking of making an image on a usb stick, copying and shrinking it, give this image a hash and then usong "reflash" to install it to the internal ram.
Don't hold your breath
ronnie
I'll try and find out why I get the "image not recognised" message.
I think I read somewhere, that doing the "blind typing" exercise may restore things.
I'm thinking of making an image on a usb stick, copying and shrinking it, give this image a hash and then usong "reflash" to install it to the internal ram.
Don't hold your breath
ronnie
Re: Debian Bullseye for OpenFrame
What "image not recognized"?
You are copying both the compressed gz file and md5 file over to your reflash boot stick eh?
I did initially only copy the compressed image over and it did not install.
Your USB stick may be corrupt.
https://birdslikewires.net/download/ope ... atest_510/
I think I read somewhere, that doing the "blind typing" exercise may restore things.
The blind typing thing is used to boot via EFI to your USB stick. This is when your boot rom if f'd up. Here is where I use the Avaya EFI boot rom or the Seabios 86 boot rom. Boot rom is soldered in place on the Openframe 2 versus the O2 Joggler.
Resizing script never worked for me. Always manually resized or used GParted.
LMS here is running on Ubuntu Server with MythTV. Ubuntu server now is a Lenova Tiny M900 with 32Gb of RAM and Gb, WiFi and Bluetooth. It is a small footprint desktop converted to a server.
You are copying both the compressed gz file and md5 file over to your reflash boot stick eh?
I did initially only copy the compressed image over and it did not install.
Your USB stick may be corrupt.
https://birdslikewires.net/download/ope ... atest_510/
I think I read somewhere, that doing the "blind typing" exercise may restore things.
The blind typing thing is used to boot via EFI to your USB stick. This is when your boot rom if f'd up. Here is where I use the Avaya EFI boot rom or the Seabios 86 boot rom. Boot rom is soldered in place on the Openframe 2 versus the O2 Joggler.
Resizing script never worked for me. Always manually resized or used GParted.
LMS here is running on Ubuntu Server with MythTV. Ubuntu server now is a Lenova Tiny M900 with 32Gb of RAM and Gb, WiFi and Bluetooth. It is a small footprint desktop converted to a server.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
Re: Debian Bullseye for OpenFrame
Redoing it again. This time resizing it right away. Then configuring an xrdp desktop that I can remote to and seeing if this all fits on the 2Gb partition.
BTW you should replace the old WLAN / Bluetooth card with an "el cheapo" Intel combo bluetooth card. They are around $10 these days.
There are traces on the motherboard for an SD card holder and did connect a USB port on the top video connector and it worked fine.
Ideally an SD card mounted inside would work nicely.
BTW you should replace the old WLAN / Bluetooth card with an "el cheapo" Intel combo bluetooth card. They are around $10 these days.
There are traces on the motherboard for an SD card holder and did connect a USB port on the top video connector and it worked fine.
Ideally an SD card mounted inside would work nicely.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
Re: Debian Bullseye for OpenFrame
This time installed a lite desktop and and it all fit fine on the Openframe 2. Ideally a perfect hard mod add would be to use an internally mounted SD card or USB stick leaving the external USB port free. Even soldering a PATA port to the traces on the motherboard would be a tight fit for an SSD card. I did do this on my play Openframe2 motherboard which is no longer in a case. I was going to use this one for a wall mounted touchscreen maybe ....
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
Re: Debian Bullseye for OpenFrame
One other issue is that I cannot shut down or reboot via the Squeezeplay menu. I can though logging in via SSH and running the script.
The left top button shuts off the screen which works fine.
The left top button shuts off the screen which works fine.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bullseye for OpenFrame
Well today I found an old SD card that worked in a usb card holder and managed to install the Bullseye image to the internal memory of my cisco joggler.
of-expand does not work AT ALL
I tried install a lxde desktop but that kept running out of room
I have spent at least five hours trying this: it's not worth it.
I'm totally baffled and I'm seriously thinking it's time to bin the bloody thing!
time to pack in for the day, what a waste of time
ronnie
of-expand does not work AT ALL
I tried install a lxde desktop but that kept running out of room
I have spent at least five hours trying this: it's not worth it.
I'm totally baffled and I'm seriously thinking it's time to bin the bloody thing!
time to pack in for the day, what a waste of time
ronnie
Re: Debian Bullseye for OpenFrame
Good news!
of-expand does not work AT ALL
Don't expand it to 2Gb as Squeezeplayer fits fine at 1Gb. OR Boot up with an Ubuntu stick with desktop and use GParted to expand the partition to 2Gb or do it the manual command line way.
1 - https://jwills.co.uk/category/o2-joggler/
2 - https://www.golinuxcloud.com/extend-res ... lvm-linux/
Once expanded a lite Linux desktop will work fine. That said if its only a Squeezeplayer then leave it a 1Gb.
I redid mine a third time and for time bean left it alone at 1 Gb.
Don't give up on it ronnie. Works nicely as a Squeezeplayer.
of-expand does not work AT ALL
Don't expand it to 2Gb as Squeezeplayer fits fine at 1Gb. OR Boot up with an Ubuntu stick with desktop and use GParted to expand the partition to 2Gb or do it the manual command line way.
1 - https://jwills.co.uk/category/o2-joggler/
2 - https://www.golinuxcloud.com/extend-res ... lvm-linux/
Once expanded a lite Linux desktop will work fine. That said if its only a Squeezeplayer then leave it a 1Gb.
I redid mine a third time and for time bean left it alone at 1 Gb.
Code: Select all
root@openframe:/home/of# df -h
Filesystem Size Used Avail Use% Mounted on
udev 243M 0 243M 0% /dev
tmpfs 50M 4.0M 46M 9% /run
/dev/mmcblk2p2 923M 810M 67M 93% /
tmpfs 246M 0 246M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 256M 3.5M 253M 2% /var/cache/apt
tmpfs 192M 28K 192M 1% /tmp
tmpfs 256M 0 256M 0% /var/lib/apt/lists
tmpfs 16M 608K 16M 4% /var/log
/dev/mmcblk2p1 41M 14M 28M 34% /boot
tmpfs 50M 0 50M 0% /run/user/1000
root@openframe:/home/of#
Don't give up on it ronnie. Works nicely as a Squeezeplayer.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bullseye for OpenFrame
Thanks for being supportive Pete, I'll look at those links over the weekend.
My aim is to install Jivelite; I'm not bothered about Squeezeplay, maybe LMS also (I have the 32bit binaries).
This is a snap of the error message if roobarb! gets time to look into the problem. The joggler just goes into a boot loop.
Keep safe
ronnie
My aim is to install Jivelite; I'm not bothered about Squeezeplay, maybe LMS also (I have the 32bit binaries).
This is a snap of the error message if roobarb! gets time to look into the problem. The joggler just goes into a boot loop.
Keep safe
ronnie
Re: Debian Bullseye for OpenFrame
Same here when I have used the script.
GParted will not fit with the 1Gb partition. So create an old Ubuntu 14 boot stick and use GParted to extend the partition. You have to boot from a USB hub when you do this so that you can utilize a wireless Keyboard.
Not totally sure what JiveLite is. Can I run it in place of Squeezeplayer?
I run LMS on an Ubuntu computer with MythTV.
GParted will not fit with the 1Gb partition. So create an old Ubuntu 14 boot stick and use GParted to extend the partition. You have to boot from a USB hub when you do this so that you can utilize a wireless Keyboard.
Not totally sure what JiveLite is. Can I run it in place of Squeezeplayer?
I run LMS on an Ubuntu computer with MythTV.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
-
- Posts: 155
- Joined: Mon Jul 18, 2011 7:56 am
Re: Debian Bullseye for OpenFrame
Jivelite is the UI part of SqueezePlay - no player.
Re: Debian Bullseye for OpenFrame
Here is the manual way via command line:
1 - boot up with new partition
2 - ssh to Openframe
3 - sudo nano /etc/fstab
4 - make it look like this:
5 - reboot
6 - ssh to your Openframe2
7 - check the set up and type
df -h
8 - then type
fdisk -l
All we care about looking is this part:
Note the size of the mmcblk2 partition and what the OS is actually using above.
9 - try to unmount the partition and you will see that you cannot.
type umount /
10 -
All what needs to be done is take a note of a starting sector of a current partition, which in our case is 83985. Remove the partition and recreate a new, larger partition starting from sector 83985 . For this we are simply going to use fdisk command. Let’s start by printing again our current partition table:
11 - next you want to look at the partition to make sure you have your starting sector mentioned above correct.
Once again please take a note of the starting sector 83985. Still in fdisk‘s interactive mode remove partition.
NOTE: if you mess this up then start all over again writing the OS back to the Openframe2 with the USB stick and rebooting again and SSHing again to the Openframe.
12.
13.
Next, create a new partition right on the top of the previous and ensure that you use same starting sector:
14.
print new partition table
15. Confirm all new details and write new partition table:
16. At this point the system needs to be rebooted in order to remount our root partition with a new size. Force fsck on next reboot to ensure that the partition is checked before it is mounted. To do so just create an empty file called forcefsck in the root of your / partition:
touch /forcefsck
17. reboot
18. The Openframe2 is sitting in the master bedroom one floor up so went to check it and it has booted to Squeezeplayer. SSHing to the Openframe see this:
Note here that it still shows second partition at 923 M
Then I type:
fsck doesn't ever run on boot. Other option is to install it to grub. Here booted with my USB stick to Squeezeplayer and then ran fsck on unmounted partition.
NOW I see the error when I do this running fsck...it shows the following when running fsck on that new expanded partition...
So expanding the partition with a boot Ubuntu USB stick works fine. Not so with command line.
1 - boot up with new partition
2 - ssh to Openframe
3 - sudo nano /etc/fstab
4 - make it look like this:
Code: Select all
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# tmpfs /tmp tmpfs noatime,size=192M 0 0
# tmpfs /var/cache/apt tmpfs noatime,size=256M 0 0
# tmpfs /var/lib/apt/lists tmpfs noatime,size=256M 0 0
# tmpfs /var/log tmpfs noatime,size=16M 0 0
UUID=ba8a6400-7af1-11ed-84b1-02ba0049c120 / ext2 errors=remount-ro,noatime 0 0
LABEL=BOOTBA8A /boot vfat defaults 0 0
6 - ssh to your Openframe2
7 - check the set up and type
df -h
Code: Select all
root@openframe:/home/of# df -h
Filesystem Size Used Avail Use% Mounted on
udev 243M 0 243M 0% /dev
tmpfs 50M 2.1M 48M 5% /run
/dev/mmcblk2p2 923M 810M 67M 93% /
tmpfs 246M 0 246M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/mmcblk2p1 41M 14M 28M 34% /boot
tmpfs 50M 0 50M 0% /run/user/1000
fdisk -l
All we care about looking is this part:
Code: Select all
Disk /dev/mmcblk2: 1.91 GiB, 2055208960 bytes, 4014080 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: 0xda94f4ca
Device Boot Start End Sectors Size Id Type
/dev/mmcblk2p1 * 1 83984 83984 41M e W95 FAT16 (LBA)
/dev/mmcblk2p2 83985 2006111 1922127 938.5M 83 Linux
root@openframe:/home/of#
9 - try to unmount the partition and you will see that you cannot.
type umount /
Code: Select all
root@openframe:/home/of# umount /
umount: /: target is busy.
All what needs to be done is take a note of a starting sector of a current partition, which in our case is 83985. Remove the partition and recreate a new, larger partition starting from sector 83985 . For this we are simply going to use fdisk command. Let’s start by printing again our current partition table:
11 - next you want to look at the partition to make sure you have your starting sector mentioned above correct.
Code: Select all
root@openframe:/home/of# fdisk /dev/mmcblk2
Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/mmcblk2: 1.91 GiB, 2055208960 bytes, 4014080 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: 0xda94f4ca
Device Boot Start End Sectors Size Id Type
/dev/mmcblk2p1 * 1 83984 83984 41M e W95 FAT16 (LBA)
/dev/mmcblk2p2 83985 2006111 1922127 938.5M 83 Linux
NOTE: if you mess this up then start all over again writing the OS back to the Openframe2 with the USB stick and rebooting again and SSHing again to the Openframe.
12.
Code: Select all
Device Boot Start End Sectors Size Id Type
/dev/mmcblk2p1 * 1 83984 83984 41M e W95 FAT16 (LBA)
/dev/mmcblk2p2 83985 2006111 1922127 938.5M 83 Linux
Command (m for help): d
Partition number (1,2, default 2): 2
Partition 2 has been deleted.
Command (m for help):
Next, create a new partition right on the top of the previous and ensure that you use same starting sector:
Code: Select all
Command (m for help): n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (2-4, default 2): 2
First sector (83985-4014079, default 86016): 83985
Last sector, +/-sectors or +/-size{K,M,G,T,P} (83985-4014079, default 4014079):
Created a new partition 2 of type 'Linux' and of size 1.9 GiB.
Partition #2 contains a ext2 signature.
Do you want to remove the signature? [Y]es/[N]o: No
Command (m for help):
print new partition table
Code: Select all
Command (m for help): p
Disk /dev/mmcblk2: 1.91 GiB, 2055208960 bytes, 4014080 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: 0xda94f4ca
Device Boot Start End Sectors Size Id Type
/dev/mmcblk2p1 * 1 83984 83984 41M e W95 FAT16 (LBA)
/dev/mmcblk2p2 83985 4014079 3930095 1.9G 83 Linux
Command (m for help):
Code: Select all
Command (m for help): w
The partition table has been altered.
Syncing disks.
root@openframe:/home/of#
touch /forcefsck
17. reboot
18. The Openframe2 is sitting in the master bedroom one floor up so went to check it and it has booted to Squeezeplayer. SSHing to the Openframe see this:
Code: Select all
root@openframe:/home/of# df -h
Filesystem Size Used Avail Use% Mounted on
udev 243M 0 243M 0% /dev
tmpfs 50M 2.1M 48M 5% /run
/dev/mmcblk2p2 923M 810M 67M 93% /
tmpfs 246M 0 246M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/mmcblk2p1 41M 14M 28M 34% /boot
tmpfs 50M 0 50M 0% /run/user/1000
Then I type:
Code: Select all
fdisk -l
Disk /dev/mmcblk2: 1.91 GiB, 2055208960 bytes, 4014080 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: 0xda94f4ca
Device Boot Start End Sectors Size Id Type
/dev/mmcblk2p1 * 1 83984 83984 41M e W95 FAT16 (LBA)
/dev/mmcblk2p2 83985 4014079 3930095 1.9G 83 Linux
root@openframe:/home/of#
NOW I see the error when I do this running fsck...it shows the following when running fsck on that new expanded partition...
Code: Select all
fsck /dev/mmcblk2
fsck from util-linux 2.36.1
e2fsck 1.46.2 (28-Feb-2021)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/mmcblk2
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
Found a dos partition table in /dev/mmcblk2
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bullseye for OpenFrame
Pete, thanks for the work you have done on this.
I used the Ubuntu stick approach
Plenty of space left
I used the Ubuntu stick approach
Plenty of space left
ronnieDebian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
of@openframe:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 243M 0 243M 0% /dev
tmpfs 50M 2.2M 48M 5% /run
/dev/mmcblk2p2 1.9G 1.1G 753M 59% /
tmpfs 246M 0 246M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 192M 16K 192M 1% /tmp
tmpfs 256M 0 256M 0% /var/cache/apt
tmpfs 16M 212K 16M 2% /var/log
tmpfs 256M 0 256M 0% /var/lib/apt/lists
/dev/mmcblk2p1 41M 14M 28M 34% /boot
tmpfs 50M 0 50M 0% /run/user/1000
of@openframe:~$
Re: Debian Bullseye for OpenFrame
Great news Ronnie!!
Yes I have to do that with current build on the OpenFrame2. It should hopefully work...none the less it only takes about 20 minutes to build it from scratch now....
Yes I have to do that with current build on the OpenFrame2. It should hopefully work...none the less it only takes about 20 minutes to build it from scratch now....
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
Re: Debian Bullseye for OpenFrame
Just noticed an update to build:
Trying that one today on the Openframe 2 box.
1 - copying two above mentioned files to old USB boot stick -
rfl-boot/reflash
2 - watching first boot - see fsck running then a reboot. Means maybe my emmc is not too good these days.
3 - 2nd reboot shows it writing the image to the Openframe 2 box OK now. Very noisy audio.
Keep getting this on reboots. It is seeing the Intel Wifi / Bluetooth card but fails to load Intel WiFi firmware.
4 - 3rd write worked and booted up to Ethernet port.
5 - did a sudo apt update
6 -
7 - wrote to the network.yaml.
nano /boot/network.yaml
edited it for my wlan . Rebooted up fine showing Ethernet and WLAN IP address.
8 - did an update and upgrade then a reboot
9 - Fixed the static by editing following file.
sudo nano /etc/modprobe.d/alsa-base.conf
and added this which got rid of the static.
options snd-hda-intel model=generic
reboot
10 - no audio static on reboot.
11 - checked and set time.
12 - rebooted with Ubuntu 14 stick in USB hub to expand partition. Worked. Then did a partition check. shut down and removed USB stick.
13 - booted up Openframe 2. No errors on boot and see the Ethernet IP and WLAN IP.
14 - ssh'd to Openframe 2
15 - writing Squeezeplayer OS as done previously.
Code: Select all
bul-ext2-1028-43-bullseye-5.10.159op.img.gz 15-Dec-2022 04:54 186M
bul-ext2-1028-43-bullseye-5.10.159op.img.gz.md5 15-Dec-2022 04:56 78
1 - copying two above mentioned files to old USB boot stick -
rfl-boot/reflash
Code: Select all
root@ICS-IBM-T540P-1:/media/pete/rfl-boot# ls
boot.nsh config-3.14.18op1 grub.cfg grub.efi grubq.efi initrd.img-3.14.18op1 reflash startup.nsh System.map-3.14.18op1 vmlinuz-3.14.18op1
root@ICS-IBM-T540P-1:/media/pete/rfl-boot# cd reflash
root@ICS-IBM-T540P-1:/media/pete/rfl-boot/reflash# ls
bul-ext2-1028-43-bullseye-5.10.159op.img.gz bul-ext2-1028-43-bullseye-5.10.159op.img.gz.md5
root@ICS-IBM-T540P-1:/media/pete/rfl-boot/reflash#
3 - 2nd reboot shows it writing the image to the Openframe 2 box OK now. Very noisy audio.
Keep getting this on reboots. It is seeing the Intel Wifi / Bluetooth card but fails to load Intel WiFi firmware.
Code: Select all
[FAILED] failed to start Remount Root and kernel File System
5 - did a sudo apt update
6 -
Code: Select all
sudo apt install firmware-iwlwifi
sudo modprobe -r iwlwifi
sudo modprobe iwlwifi
nano /boot/network.yaml
edited it for my wlan . Rebooted up fine showing Ethernet and WLAN IP address.
8 - did an update and upgrade then a reboot
9 - Fixed the static by editing following file.
sudo nano /etc/modprobe.d/alsa-base.conf
and added this which got rid of the static.
options snd-hda-intel model=generic
reboot
10 - no audio static on reboot.
11 - checked and set time.
Code: Select all
of@openframe:/usr/local/sbin$ sudo of-timezone
[sudo] password for of:
America/Chicago
13 - booted up Openframe 2. No errors on boot and see the Ethernet IP and WLAN IP.
14 - ssh'd to Openframe 2
Code: Select all
root@openframe:/home/of# df -h
Filesystem Size Used Avail Use% Mounted on
udev 243M 0 243M 0% /dev
tmpfs 50M 2.2M 48M 5% /run
/dev/mmcblk2p2 1.9G 593M 1.2G 34% /
tmpfs 246M 0 246M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 192M 16K 192M 1% /tmp
tmpfs 256M 0 256M 0% /var/cache/apt
tmpfs 16M 212K 16M 2% /var/log
tmpfs 256M 0 256M 0% /var/lib/apt/lists
/dev/mmcblk2p1 41M 14M 28M 34% /boot
tmpfs 50M 0 50M 0% /run/user/1000
root@openframe:/home/of#
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bullseye for OpenFrame
Very nice.
Merry Christmas and Happy Holidays to you and yours Ronnie.
Merry Christmas and Happy Holidays to you and yours Ronnie.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens
Auto mater