You are not logged in.
I've made some mistakes with boot related things on my system and wanted to fix. Booted from USB (ver. 2017.07.01) and tried to mount root FS to chroot to it. But after
mount /dev/sdb2 /mnt
I see
mount: unknown filesystem type 'ext4'
Really?? What is going on? How to chroot?
Over year with linux, but still noob, sorry ![]()
Last edited by vlas (2017-10-01 18:41:33)
Watch out! © Kozma Prutkov
Offline
Booted from *what* USB? Arch install medium? Grml? Puppy?
Online
Booted from *what* USB? Arch install medium? Grml? Puppy?
Booted from official Arch installation flash USB-drive of course. Writed on flash with ArchWiki recommendations.
Watch out! © Kozma Prutkov
Offline
lsmod | grep ext
modprobe ext4Online
lsmod | grep extnothing
modprobe ext4
modprobe: ERROR: could not insert 'ext4': Invalid argumentVery very strange behavior. It was able to mount /boot partition which is FAT32, but no luck with NATIVE ext4…
I do not understand, so basical functionality and not working, why??
Watch out! © Kozma Prutkov
Offline
I'd say the resolved module doesn't match the kernel version.
uname -a
modprobe -v ext4It was able to mount /boot partition
frankly suggest the latter.
Why did you mount it and where? /boot on the install medium root FS?
Online
I'd say the resolved module doesn't match the kernel version.
Does it possible with clean boot from clean arch-flash?
Why did you mount it and where? /boot on the install medium root FS?
First I tried to mount root partition (sdb2, ext4) - no luck. Then I tried to mount /boot partition (sdb1, vfat) and it works. FAT32 partition are mounting, but EXT4 - no. This usb-flash can be used as rescue stick, isn't it?
Can you boot from arch usb-stick and try to mount ext4 please? It just MUST work, I'm in stuck...
Watch out! © Kozma Prutkov
Offline
What are the outputs of the two commands?
I don't reboot for no reason. Which image *exactly* did you download?
Online
What are the outputs of the two commands?
I don't reboot for no reason. Which image *exactly* did you download?
Hmm... answers were given earlier: posts #5 and #3 respectively. No "tricks".
Watch out! © Kozma Prutkov
Offline
No, were not. I said *EXACTLY*. A link to the actualy image URL that you downloaded from the server you used.
Online
Torrent for 2017.07.01 from Download page.
Watch out! © Kozma Prutkov
Offline
Can you verify that your partition is ext4? Maybe something is messed up.
What's the output of
fdisk -lOffline
lsblk -f was showing ext4. I can do fdisk -l in 7-8 hours.
Watch out! © Kozma Prutkov
Offline
seth wrote:What are the outputs of the two commands?
I don't reboot for no reason. Which image *exactly* did you download?Hmm... answers were given earlier: posts #5 and #3 respectively. No "tricks".
Not quite, seth asked for the output of
uname -a
modprobe -v ext4You have shown the output of 'modprobe ext4', now seth is asking for the verbose output.
For the record, I have booted the liveCD and verified that the ext4 module can be loaded and ext4 partitions can be mounted, so this is not an impossible task. We just need to figure out what has gone wrong in your case, and fix it. To that end, please post the outputs requested from you, verbatim. Use a pastebin if the output is lengthy.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Could be the USB?
Does USB's SHA1 and MD5 signatures match with ISO image?
First, write down the block number writed with its block size. Then test your USB writed image:
dd if=/dev/sdx count=number_of_blocks bs=block_size status=noxfer | sha1sumPlease, check the command because I've not tested it.
Edit: sdx is the USB device, it could be sdb, sdc,...
Last edited by Alber (2017-07-17 09:46:45)
Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.
Offline
Thank you! I'll do all that things when come back to home, few hours.
Watch out! © Kozma Prutkov
Offline
Since he cannot modprobe the ext4 module, I don't think it's the filesystem.
Either the downloaded ISO is rubbish (I worried it could be the net installer, but that doesn't seem to be the case) or some other module path is resolved, maybe because the kernel from the installation /boot partition is loaded.
Online
This is the output:
http://termbin.com/urqx
2Alber
I'm in trouble how to check USB-stick integrity. I tried many of recipies from google, but still can not.
Watch out! © Kozma Prutkov
Offline
I'm not sure it'd explain the error message you are getting, but you definitely should be mounting the root partition on the same place as the boot partition - that'd completely mask the boot partition and nothing could be saved there. If this is how you did it when you first installed, I'm pretty sure this is exactly what was wrong with your boot partition in the first place.
You should mount the root partition first to /mnt, then mount the boot partition to /mnt/boot
EDIT: sorry, I misread the log a bit - sorry for the noise.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
You should mount the root partition first to /mnt, then mount the boot partition to /mnt/boot
I know that. I _can_not_ mount ANY ext4, root FS is ext4. When I tried to mount /boot, I immediately unmounted it to try more.
Watch out! © Kozma Prutkov
Offline
It's just to see if the ISO image writed on the USB (a integral copy with dd) matches with the ISO in the mirrorlist or torrent.
It's the same but for an USB. Maybe it is in wiki too.
https://wiki.archlinux.org/index.php/Op … _ISO_image
As example:
When you write the iso image with dd:
# dd if=archlinux-2017.07.01-x86_64.iso of=/dev/sde bs=4K
130560+0 registers readed
130560+0 registers writed
534773760 bytes (535 MB, 510 MiB) copied, 84,1601 s, 6,4 MB/Take the number 130560 and use to read that number of blocks from USB.
# dd if=/dev/sde count=130560 bs=4K status=noxfer | sha1sum
130560+0 registers readed
130560+0 registers writed
dd03d811211c332d29155069d8e4bb2306c70f3 And compare it with the SHA1 checksum in https://www.archlinux.org/download/
P.D. (edit) Careful about making a mistake with the device.
Last edited by Alber (2017-07-17 18:22:17)
Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.
Offline
When you write the iso image with dd
Thanks for enough explanation! But I've made USB-stick on Windows, by some simply utility, just don't remember which.
I think I have to try to write another stick by dd. But I don't think win-utility is really not able.
Watch out! © Kozma Prutkov
Offline
Offline
2alex.theoto
Thanks but I read it first of all. Post #3:
Booted from official Arch installation flash USB-drive of course. Writed on flash with ArchWiki recommendations.
Watch out! © Kozma Prutkov
Offline
Just as ideas, you don't need to do.
(1) I would test the image file you had downloaded. I don't know how to do it in Windows.
(2) If you write another USB, you can test it from the Linux booted from the first USB. And the another way.
Edit:
You can use the number of blocks, command parameters and output from the example. They are true values.
Last edited by Alber (2017-07-18 14:00:45)
Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.
Offline