You are not logged in.

#1 2015-11-15 21:16:27

Naik
Member
From: Lipsia
Registered: 2015-10-03
Posts: 298

kernel upgrade and multi arch on persistent live-system

Hello folks out there!

I am using Hydrogen 8.2 64bit from a persistent live-key these days and it runs like a charm but there are still some issues to be solved!

1. I would love to install nvidia gfx and may try to update the kernel but smxi is running out of functionabillity for not finding any instance of grub. Is it even possible to use another kernel as the one packed into the sqashfs?
I would even try to repack and use another sqashfs if i could figure out how to boot the newer kernel.

2. For a real just-use-everywhere-stick i would have to have 32bit architecture supported too.
Is it encouraged to install multiarch-support on top of the 64bit system, or would it be better to copy the files of the 32bit system to sdc1 too and manipulate syslinux to be able to choose one or the other on bootup?

thanks in advance and keep up the good work!

naik --greetz

Last edited by Naik (2015-11-21 11:36:27)


"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen on GitHub

Offline

#2 2015-11-15 21:26:48

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: kernel upgrade and multi arch on persistent live-system

Naik wrote:

Is it encouraged to install multiarch-support on top of the 64bit system

Yes, Debian has multiarch support.

https://wiki.debian.org/Multiarch/HOWTO


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#3 2015-11-15 21:29:13

hhh
Meep!
Registered: 2015-09-17
Posts: 12,178
Website

Re: kernel upgrade and multi arch on persistent live-system

Hey Naik!

The Ben Armstrong blog post I used as a reference for my USB persistence tutorial says nothing about how to activate a new kernel if you upgrade. My recommendation would be to just stick with the default 3.16 kernel or try contacting Ben, I was unable to get anywhere with booting a newer kernel.

http://syn.theti.ca/2013/06/22/tutorial … ce-on-usb/
https://forums.bunsenlabs.org/viewtopic … 6974#p6974

For the other issue, someone else will have to chime in.

Online

#4 2015-11-18 18:34:53

Naik
Member
From: Lipsia
Registered: 2015-10-03
Posts: 298

Re: kernel upgrade and multi arch on persistent live-system

Head_on_a_Stick wrote:
Naik wrote:

Is it encouraged to install multi-arch-support on top of the 64bit system

Yes, Debian has multi-arch support.

https://wiki.debian.org/Multiarch/HOWTO

Ok Thanks!
Although I knew that, but i don`t know how helpful it would be when it comes to using a computer which is in fact to old to run a 64bit system. Would I have to have all packages installed in both versions?
The next thing is, that i tried to do as the debian-wiki suggested but came out with apt telling me my sources.list would be broken...
what i did was

# dpkg --add-architecture i386

# dpkg --print-architecture
amd64
i386
# apt-get update

[...] unable to fetch index-files [...] 

naik --greetz


"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen on GitHub

Offline

#5 2015-11-18 21:56:32

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: kernel upgrade and multi arch on persistent live-system

Naik wrote:
# dpkg --add-architecture i386

# dpkg --print-architecture
amd64
i386
# apt-get update

[...] unable to fetch index-files [...] 

Please post the *full* terminal output along with the commands used.

You appear to have redacted the portion that would have enabled me to tell you what the problem is...

Also post the full output of:

cat /etc/apt/sources.list /etc/apt/sources.list.d/*
apt-cache policy

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#6 2015-11-21 11:35:58

Naik
Member
From: Lipsia
Registered: 2015-10-03
Posts: 298

Re: kernel upgrade and multi arch on persistent live-system

Head_on_a_Stick wrote:

Please post the *full* terminal output along with the commands used.

You appear to have redacted the portion that would have enabled me to tell you what the problem is...

Also post the full output of:

cat /etc/apt/sources.list /etc/apt/sources.list.d/*
apt-cache policy

Sorry for not coming back to this thread for so long, but as it seems i am not able to reproduce the error. Apparently I created the error myself while editing my sources.list and solved it unwittingly by changing everything back.
At first i thought the problem would be the addition of  [arch=amd64,i386] to the sources.list, but it wasn`t because as i already said everything works fine now that i added i386 using dpkg and i don`t think it's necessary to post my sources list again because it is the default with only arch specs added as mentioned above.

So thanks for all your help and have nice day!

naik --greetz


"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen on GitHub

Offline

#7 2015-11-21 16:24:50

hhh
Meep!
Registered: 2015-09-17
Posts: 12,178
Website

Re: kernel upgrade and multi arch on persistent live-system

Hey Naik, I'm removing [SOLVED] from the subject title. I'd still like to know how to make a new kernel visible to a persistent Live USB grub menu.

Online

#8 2015-11-22 20:28:44

Naik
Member
From: Lipsia
Registered: 2015-10-03
Posts: 298

Re: kernel upgrade and multi arch on persistent live-system

Ok. Thanks!
I`d love to too, but i thought this may just be impossible. On the other hand - Is there something that actually is? wink

UPDATE: It doesn`t look as if there would be someone comming up with a simple suggestion?

Since i dumped Grub for lilo i managed to make it actually boot the kernel stored within "persistence", but trying to use the system was a pain in the *** due to tones of unresolved symlinks.

naik --greetz

Last edited by Naik (2015-11-26 20:35:21)


"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen on GitHub

Offline

Board footer

Powered by FluxBB