Posts

Showing posts from August 9, 2018

How is modprobe run before mounting root? (no initrd)

Image
Clash Royale CLAN TAG #URR8PPP up vote 1 down vote favorite I am booting linux mint(version 4.14.13+) without using initrd / initramfs , and I see that /sbin/modprobe is run before mounting the root file system. I was wondering how that is possible. I instrumented the kernel to printk whenever file system is used and that's how I know that /sbin/modprobe was used. The following link contains the full dmesg output of my boot: dmesg output [ 3.175001] Used file system /sbin/modprobe! [ 3.179080] Used file system /dev/console! [ 3.844276] Used file system /dev/md0! [ 3.899302] VFS: Mounted root (ext4 filesystem) on device 8:17. [ 3.951578] devtmpfs: mounted [ 3.987527] Used file system /bin/sh! linux mount boot modprobe share | improve this question edited Jul 13 at 22:56 sourcejedi 18k 2 23 75 asked Jul 10 at 15:06 systolicDrake 50 5 add a comment  |  up vote 1 down vote favorite I am booting linux mint(v

INET 4.0 installation error OMNET++ 5.4.1 Linux Mint 19 XFCE

Image
Clash Royale CLAN TAG #URR8PPP up vote 0 down vote favorite When I try to install INET 4.0 on fresh Linux Mint 19 installation with OMNET++ v5.4.1 there is an error message like this: When I try to reach the download address from command line with wget https://github.com/inet-framework/inet/releases/download/v4.0.0/inet-4.0.0-src.tgz mentioned at error screen I can download the INET 4.0 .tgz file. Also I checked if I could reach internet by pinging. How can I find what causes this? Any answers are welcome! linux-mint share | improve this question asked Jul 10 at 15:25 akikara 103 1 5 add a comment  |  up vote 0 down vote favorite When I try to install INET 4.0 on fresh Linux Mint 19 installation with OMNET++ v5.4.1 there is an error message like this: When I try to reach the download address from command line with wget https://github.com/inet-framework/inet/releases/download/v4.0.0/inet-4.0.0-src.tgz mentioned at error s

delete all files ending with certain string

Image
Clash Royale CLAN TAG #URR8PPP up vote 2 down vote favorite I have a directory containing around 15K images, with x number of sequences scene1_000000.png scene1_000001.png scene1_000002.png scene1_000003.png scene1_000004.png scene1_000005.png scene1_000006.png scene1_000007.png scene1_000008.png . . . . scene2_000300.png scene2_000000.png scene2_000001.png scene2_000002.png scene2_000003.png scene2_000004.png scene2_000005.png scene2_000006.png scene2_000007.png scene2_000008.png . . . . scene2_000300.png . . . . scene50_000000.png scene50_000001.png scene50_000002.png scene50_000003.png scene50_000004.png scene50_000005.png scene50_000006.png scene50_000007.png scene50_000008.png . . . . scene50_000300.png I want to keep from each sequence the first 150 sequences, and delete the rest. So I will have for every scene, the sequences from 000000 to 000150 shell rm share | improve this question edited Jul 10 at 16:25 terdon ♦ 122k 28 226 3