Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
busybox segfailts on initramfs script but not in shell
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Fri Mar 15, 2024 11:55 am    Post subject: busybox segfailts on initramfs script but not in shell Reply with quote

Greetings,

I've wrote a custom init script for my initramfs, in it I call a statically compiled version of blkid (I need PARTUUID and busybox's blkid doesn't supports it)
to find the boot partition, when I run blkid as part of the init script, I get segfault, but when I drop to shell (save one as the script is running inside, all goes well.
busybox's blkid works inside the shell but lacks partuuid support

any ideas what it can be?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54248
Location: 56N 3W

PostPosted: Mon Mar 18, 2024 9:10 pm    Post subject: Reply with quote

DaggyStyle,

How did you build a static blkid?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum