LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 01-25-2022, 09:27 PM   #1
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386

Rep: Reputation: Disabled
Alpine-linux mounting error


not sure if this belongs here, Admin can erase this if you like or move it to the appropriate Distribution.
Alpine current:

Code:
alpine_paco:/home/brad# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
fd0      2:0    1     4K  0 disk
sda      8:0    0  28.6G  0 disk
├─sda1   8:1    0   9.1G  0 part
├─sda2   8:2    0  19.5G  0 part /
└─sda3   8:3    0   2.7M  0 part [SWAP]
sdb      8:16   0 465.8G  0 disk
└─sdb1   8:17   0    20M  0 part
sdc      8:32   1  28.8G  0 disk
└─sdc1   8:33   1    20M  0 part
sr0     11:0    1  1024M  0 rom
sr1     11:1    1  1024M  0 rom
alpine_paco:/home/brad# mount -t ext4 /dev/sdc1 /mnt
mount: mounting /dev/sdc1 on /mnt failed: Invalid argument
 
Old 01-25-2022, 11:13 PM   #2
JuanKenobi
Member
 
Registered: Aug 2021
Location: Dallas, TX
Distribution: Slackware64-15.0
Posts: 45

Rep: Reputation: Disabled
why are sdb1 and sdc1 only 20M? even the EFI partition should be at least 200M. are you sure that it has been formatted with ext4 filesystem?


# fdisk -l would show more useful output if you have it installed. or


# parted -l
 
Old 01-26-2022, 12:12 PM   #3
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386

Original Poster
Rep: Reputation: Disabled
I am not sure if you noticed this was on alpine-linux. On ubuntu, for instance, there are no errors, I can mount OK.
Yes, the flash drive was preformated with mkfs.ext4 and then written with Etcher.

The partition table is msdos (mbr) now changed from gpt.
I formated again but this time I did not write anything on it and there are no errors:

Code:
alpine_paco:/# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
fd0      2:0    1    4K  0 disk 
sda      8:0    0 28.6G  0 disk 
├─sda1   8:1    0  9.1G  0 part 
├─sda2   8:2    0 19.5G  0 part /
└─sda3   8:3    0  2.7M  0 part [SWAP]
sdb      8:16   1 28.8G  0 disk 
└─sdb1   8:17   1 28.8G  0 part 
sr0     11:0    1 1024M  0 rom  
sr1     11:1    1 1024M  0 rom  
alpine_paco:/# mount /dev/sdb1 /mnt
alpine_paco:/# ls /mnt
lost+found
alpine_paco:/#
I wrote it with Etcher and on ubuntu worked just fine:
Code:
sdb       8:16   1  28.8G  0 disk 
└─sdb1    8:17   1    20M  0 part /media/brad/TinyCore
sr0      11:0    1  1024M  0 rom
on alpine:
Code:
alpine_paco:/# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
fd0      2:0    1    4K  0 disk 
sda      8:0    0 28.6G  0 disk 
├─sda1   8:1    0  9.1G  0 part 
├─sda2   8:2    0 19.5G  0 part /
└─sda3   8:3    0  2.7M  0 part [SWAP]
sdb      8:16   1 28.8G  0 disk 
└─sdb1   8:17   1   20M  0 part 
sr0     11:0    1 1024M  0 rom  
sr1     11:1    1 1024M  0 rom  
alpine_paco:/# mount -t ext4 /dev/sdb1 /mnt
mount: mounting /dev/sdb1 on /mnt failed: Invalid argument
alpine_paco:/#
Code:
alpine_paco:/# parted -l
Model: ATA Maxtor 33073H3 (scsi)
Disk /dev/sda: 30.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system     Flags
 1      32.3kB  9762MB  9762MB  primary  ntfs
 2      9762MB  30.7GB  21.0GB  primary  ext4            boot
 3      30.7GB  30.7GB  2851kB  primary  linux-swap(v1)


Error: Invalid partition table - recursive partition on /dev/sdb.
Ignore/Cancel? i                                                          
Model: Kingston DataTraveler 3.0 (scsi)
Disk /dev/sdb: 30.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start  End  Size  Type  File system  Flags


alpine_paco:/#

Last edited by lattimro; 01-30-2022 at 10:33 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to set up Alpine Linux - Mounting boot media failed. upsilon Linux - Newbie 2 05-21-2019 01:06 PM
CUPS (ALPINE) - CUPS claiming print job completed despite printing nothing, How to debug the issue? (network printer, Alpine, Linux, Docker) vinnu543 Linux - Newbie 2 11-01-2018 03:18 PM
CUPS (ALPINE) - CUPS claiming print job completed despite printing nothing, How to debug the issue? (network printer, Alpine, Linux, Docker) vinnu543 Linux - Networking 1 11-01-2018 03:13 AM
alpine-2.0 compilation error after GSB-3.20 installation dma8hm1956 Slackware 0 03-26-2012 12:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 09:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration