You are not logged in.

#21 2017-11-12 23:11:32

deleted0
Guest

Re: SharpBang (♯!) "live" ISO image

I like the name.

#! - Crunchbang
♯!  - Sharpbang

I though the name was imaginative, Nothing more.

Edit:
No one had expressed the name Sharpbang in it's symbolic form, which I took the liberty to do; the point of my pointless post.

8bit

"Don't be so humble - you are not that great."
    - Golda Meir (1898-1978) to a visiting diplomat

Last edited by deleted0 (2017-11-13 01:49:24)

#22 2017-11-13 01:46:41

BLizgreat!
Resident Babbler - vll!
Registered: 2015-10-03
Posts: 1,217

Re: SharpBang (♯!) "live" ISO image

Also pointless dorkage, mention 150mbs is but a tiny fraction of even dated hardware's capabilities now. Sometimes even kick myself for the resource miserage and uber minimalist I tend to be. Someone could likely run Hoas's current project on a friggin calculator and get dang fine results.

Hmmmmm, 4gbs on this dinosaur, why not live a little ? Resource miser says, why live a lil ???? What have you lost your friggin mind, if it doesn't do something useful, doesn't pull it's weight, then it doesn't eat .... resources !!! While same time am sure all things Hoasinators latest creation does do something useful, thus justifies it's existance anyway. With 150mbs and whatever processor etc overhead being a drop in the bucket, even for much 8yr old hardware and increasingly unheard of in this day and age.

Soooooo glad people like Hoas and folks like the BL crowd remain a presence and active niche in the Nixsphere though. Ya'll rock man !!!!


Vll! smile

Last edited by BLizgreat! (2017-11-13 01:47:49)

Offline

#23 2017-11-13 09:24:01

Steve
Member
Registered: 2017-01-03
Posts: 642

Re: SharpBang (♯!) "live" ISO image

I downloaded that first iso, should i download again Hoas? Id only be checking it out in a virtualbox.

Offline

#24 2017-11-13 20:37:19

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: SharpBang (♯!) "live" ISO image

Steve wrote:

I downloaded that first iso, should i download again Hoas?

Oh yes, I'm up to version 9.something now big_smile

Sorry but I like to fiddle 8)

Speaking of which...

SharpBang-stretch is now here!

https://drive.google.com/open?id=1rtw4H … xWiuUm4xdb

I've updated the image to a Debian stretch base (and added ponysay) and surprisingly it all seems to work.

This can now be considered the development branch of ♯!

I will change the link in the OP when it makes release status.

Offline

#25 2017-11-13 21:55:49

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: SharpBang (♯!) "live" ISO image

Another quick update, added ps_mem & nftables.

The "workstation" ruleset is applied which is a whitelist firewall, ports 22, 80 & 443 are closed but can be opened by editing /etc/nftables.conf and un-commenting the relevant line then running:

sudo systemctl restart nftables

Offline

#26 2017-11-14 04:06:31

Nap
Member
Registered: 2017-11-14
Posts: 8

Re: SharpBang (♯!) "live" ISO image

Would "openssh-server" be one of the installed packages?  (I didn't see it in the list you posted in reply #9 above.)

If you could share a guide on how to create such a bundle?

Cheers,
Nap

Offline

#27 2017-11-14 04:41:19

BLizgreat!
Resident Babbler - vll!
Registered: 2015-10-03
Posts: 1,217

Re: SharpBang (♯!) "live" ISO image

Cool, am sure this puppy is coming along nicely. smile

Also noted you stashed yourself in the bike-shed ? Ah it's your thread to with as ye see fit fellow nixer.

Offline

#28 2017-11-14 07:00:40

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: SharpBang (♯!) "live" ISO image

Nap wrote:

Would "openssh-server" be one of the installed packages?

No, also the firewall is configured to block ssh by default.

I have linked you to some guides in your other posts wink

BLizgreat! wrote:

noted you stashed yourself in the bike-shed ?

Ah yes, I wanted to keep this project out of reach of mother startpage, at least for the moment.

Offline

#29 2017-11-14 08:11:47

BLizgreat!
Resident Babbler - vll!
Registered: 2015-10-03
Posts: 1,217

Re: SharpBang (♯!) "live" ISO image

^Am sure you've got reasons Hoas, so have to respect that. Don't want to take away from the focus of what has to be the BL mission statement ? Aka: The continuation of kickbutt Debian-based minimalism ? A lot of times, kinda bite my tongue too and hesitate to mention this or that for the above reason.

Though hey, there's offtopic, general gnu/nix discussion sections for a reason me thinks. Anyway am sure this(your project) is already good stuff and getting better as you continue honing it. Hmmmm or would that be Hoas'ing it ? tongue

Last edited by BLizgreat! (2017-11-14 08:12:33)

Offline

#30 2017-11-15 18:42:51

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: SharpBang (♯!) "live" ISO image

I have discovered how to disable the "Install" options in the boot menu so this is now a pure "live" image, as intended.

I think I have the image how I want now so I will update the OP to point to the stretch-based version soon.

EDIT: thread moved to the public area now that the image is not installable.

Last edited by Head_on_a_Stick (2017-11-15 19:02:34)

Offline

#31 2017-11-15 20:48:15

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: SharpBang (♯!) "live" ISO image

Head_on_a_Stick wrote:

I think I have the image how I want now

Not quite...

I have now added a boot option for FreeDOS.

This can be useful for installing firmware ("BIOS") updates and suchlike.

Nah, it doesn't work — FreeDOS is 32-bit but my image is 64-bit hmm

Back to the drawing board...

I will keep the menu option because it works for me in QEMU and I like DOS smile

Last edited by Head_on_a_Stick (2017-11-15 20:57:06)

Offline

#32 2017-11-15 21:20:27

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: SharpBang (♯!) "live" ISO image

OK, added a "persistence" boot option to allow changes to be saved smile

To make use of persistence, transfer the image to a USB stick (using the `cp` command) then load up `fdisk` (or gparted) and add a new (Linux) partition that takes up the remaining space on the USB stick and format it with the "persistence" label, like this:

sudo mkfs.ext4 -L persistence /dev/sdX2

Replace X with the letter assigned to the USB stick.

Then add the persistence.conf configuration file to the partition:

sudo mount /dev/sdX2 /mnt
sudo bash -c 'echo "/ union" > /mnt/persistence.conf'
sudo umount -R /mnt

The "/ union" content tells the system to save any changes to the root filesystem (ie, all of it), to restrict the persistence to a single directory use (for example):

/usr union

Once this is done, the live system should then save any changes to the persistence partition on the USB stick when booted with the "persistence" option 8)

EDIT: removed BunsenLabs branding to avoid potential confusion.

Last edited by Head_on_a_Stick (2017-11-15 22:01:30)

Offline

#33 2017-11-16 20:06:29

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: SharpBang (♯!) "live" ISO image

Version bump!

The Debian stretch firefox-esr package is now up to v52.5 so I have updated the image, a current browser version is critical, IMO.

I will also change the OP so the thread makes a bit more sense for newcomers.

EDIT: added sha512sum to OP, check with:

sha512sum sharpbang-stretch.img

Last edited by Head_on_a_Stick (2017-11-16 20:27:55)

Offline

#34 2017-11-18 11:36:31

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: SharpBang (♯!) "live" ISO image

I have refined the image a bit more — Dungeon Crawl has gone (that was just as silly for a live session as LibreOffice was) along with the redundant themes & icon sets [1] so now the image is a far more palatable ~820MiB.

More importantly, I have added two new options to boot the system with either the squashfs (the running filesystem tree for the live session) or the entire ISO image copied to RAM.

Both options speed up the session considerably, albeit with an added boot delay as the stuff is copied to RAM, and the second option allows the USB stick to be removed after booting, which is nice.

[1] You can have any colour you want as long as it's grey.

Offline

#35 2017-11-18 15:44:15

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: SharpBang (♯!) "live" ISO image

Dumped LightDM, now running X direct from a console (auto)login.

Not only is X now running as the normal user (instead of root) but it also drops ~40MiB of RAM and a shedload of unnecessary processes  cool

I need to add volume control keyboard shortcuts for pnmixer as well so I will update again later.

Offline

#36 2017-11-18 18:00:51

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: SharpBang (♯!) "live" ISO image

Added volume hotkeys for pnmixer along with ranger and some modifications to /etc/{os-,lsb_}release so that the system identifies itself as SharpBang.

I've also removed some APT metadata that was bloating the image so we are now down to 739MiB  smile

EDIT: updated sha512sum in OP.

Last edited by Head_on_a_Stick (2017-11-18 19:35:51)

Offline

#37 2017-11-18 21:15:01

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: SharpBang (♯!) "live" ISO image

We now have genfstab, arch-chroot & pacstrap from the Arch Install Scripts so it is possible to install a fully functional Arch Linux system from the SharpBang live environment

EDIT: no, it's not, I'm working on it though...

I will be updating the OP later to try to explain the project a bit better so stay tuned...

Last edited by Head_on_a_Stick (2017-11-18 21:47:35)

Offline

#38 2017-11-19 01:26:16

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: SharpBang (♯!) "live" ISO image

The Arch Install Scripts (and pacman) now work in SharpBang.

Follow https://wiki.archlinux.org/index.php/Installation_guide to install an Arch Linux system from the live session.

Offline

#39 2017-11-19 09:47:27

Steve
Member
Registered: 2017-01-03
Posts: 642

Re: SharpBang (♯!) "live" ISO image

Nice work Hoas, not very familiar with vim but its the default text editor there and playing around with it now.

A lot going on in there, you have a few shells to choose from, ksh, zsh, . Why is that .zshrc so huge!!

I have only looked at it on virtualbox thus far and had to convert it. If anyone using virtualbox you can use these commands below to convert .img to .vdi

VBoxManage convertdd sharpbang-stretch.img sharpbang.vdi

When do you think you will have an installer iso version? wink

Offline

#40 2017-11-19 11:20:37

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: SharpBang (♯!) "live" ISO image

Steve wrote:

Why is that .zshrc so huge!!

Ah yes, that 3,500 line (!) monster is grml's own custom configuration, as can be found in the Arch Linux live ISO image and ArchLabs Mínimo.

It is a beast but the functionality it provides makes it worthwhile, I think.

For example, try typing in

mzn

Then press <Tab> twice to demonstrate the automatic spell correction and menu-style tab completion for the man pages  cool

The extended completion and globbing abilities provided by zsh (and grml's configuration) are so good that they render graphical file managers superfluous and it even offers secondary tab completion for command options so that if you type:

apt-cache p

Tab completion will then finish "policy" for you.

And the perrenial favourite:

false

Which will show the exit code ("1", obviously) in red before the prompt and a sad face emoticon at the far right hand side of the terminal, this works for any command with a non-zero exit status.

Zsh really is the best shell for interactive convenience, it blows the competition away (IMO).

you can use these commands below to convert .img to .vdi

Nice, thanks for the tip!

When do you think you will have an installer iso version? wink

I don't have any plans for that (at the moment) although a preseed for the Debian installer pointed to my openSUSE repositories would certainly allow me to do that.

I have the live system running from my hard drive with the last entry in my grub.cfg:

https://raw.githubusercontent.com/Head- … r/grub.cfg

Offline

Board footer

Powered by FluxBB