Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

What File system format?

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
xendistar
Posts: 120
Joined: 2010-12-29 17:52

What File system format?

#1 Post by xendistar »

I have a compact flash card that has a linux based OS installed on it (embedded thin client). If I connect the compact flash card to my Debian box (via USB card reader), nothing gets mounted, if I open gparted it can see the compact flash but does not recognise the partition format. If I connect it to my windows PC it just ask if I want to format it. Is there any way of finding out what the format is as I want to look at some of the software on the compact flash.

User avatar
Ardouos
Posts: 1075
Joined: 2013-11-03 00:30
Location: Elicoor II
Has thanked: 1 time
Been thanked: 4 times

Re: What File system format?

#2 Post by Ardouos »

On your Debian box can you post the output of:

Code: Select all

 lsblk
There is only one Debian | Do not break Debian | Stability and Debian | Backports

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

xendistar
Posts: 120
Joined: 2010-12-29 17:52

Re: What File system format?

#3 Post by xendistar »

mit@lunar1 ~ $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 79G 0 part
├─sda3 8:3 0 5.6G 0 part [SWAP]
├─sda4 8:4 0 185.8G 0 part
├─sda5 8:5 0 58.6G 0 part /
└─sda6 8:6 0 136.7G 0 part /home
sdb 8:16 0 149.1G 0 disk
└─sdb1 8:17 0 149.1G 0 part /mnt/home-backup
sdd 8:48 1 973.6M 0 disk
└─sdd1 8:49 1 973.5M 0 part
sr0 11:0 1 1024M 0 rom


I assume that the compact flash is the sdd as it is a 1gb card

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: What File system format?

#4 Post by Head_on_a_Stick »

If it is /dev/sdd use:

Code: Select all

# parted -l /dev/sdd
Or use the command without the "/dev/sdd" bit to list all the filesystems and partitions attached to your system.
deadbang

xendistar
Posts: 120
Joined: 2010-12-29 17:52

Re: What File system format?

#5 Post by xendistar »

It does not tell me

Model: Generic USB CF Reader (scsi)
Disk /dev/sdd: 1021MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 32.3kB 1021MB 1021MB primary boot

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: What File system format?

#6 Post by Head_on_a_Stick »

Post the output of:

Code: Select all

# blkid
Please use code tags for the terminal output -- quote this post to see how I have done it for the command above.
deadbang

xendistar
Posts: 120
Joined: 2010-12-29 17:52

Re: What File system format?

#7 Post by xendistar »

Head_on_a_Stick wrote:Post the output of:

Code: Select all

# blkid
Please use code tags for the terminal output -- quote this post to see how I have done it for the command above.
Not even listed

Code: Select all

mit@lunar1 ~ $ sudo blkid
/dev/sdb1: LABEL="Home-backup" UUID="f22ea48d-db0a-42d0-8cb8-04c16630f2e5" TYPE="ext4" PARTUUID="1549f232-01"
/dev/sda1: LABEL="man-root" UUID="d6e752fe-31d3-4643-92a6-ed89377e92fd" TYPE="ext4" PARTUUID="0007bc31-01"
/dev/sda3: UUID="4314c717-9b66-40bf-a575-de1ce3bf97de" TYPE="swap" PARTUUID="0007bc31-03"
/dev/sda4: LABEL="man-home" UUID="f7618a8c-4199-4626-8c40-5253d77d193e" TYPE="ext4" PARTUUID="0007bc31-04"
/dev/sda5: UUID="ce4936ab-089e-47df-8a7f-2523f5ed82f4" TYPE="ext4" PARTUUID="0007bc31-05"
/dev/sda6: LABEL="Solydx-home" UUID="fd7a3213-d517-44ca-88bd-37bc31d3f1b7" TYPE="ext4" PARTUUID="0007bc31-06"

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: What File system format?

#8 Post by Head_on_a_Stick »

Sorry...

Code: Select all

# blkid -p -u filesystem /dev/sdd1
deadbang

xendistar
Posts: 120
Joined: 2010-12-29 17:52

Re: What File system format?

#9 Post by xendistar »

Head_on_a_Stick wrote:Sorry...

Code: Select all

# blkid -p -u filesystem /dev/sdd1
It does not return anything, running the command just return to a new line and no code output.

After some goolging I found some info about fsck and tried the following

Code: Select all

mit@lunar1 ~ $ sudo fsck -N /dev/sdd1
fsck from util-linux 2.25.2
[/sbin/fsck.ext2 (1) -- /dev/sdd1] fsck.ext2 /dev/sdd1 
Does that mean the file system is ext2?? If so why is it failing to be read?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: What File system format?

#10 Post by Head_on_a_Stick »

Looks to me like there is no filesystem on that device.
deadbang

xendistar
Posts: 120
Joined: 2010-12-29 17:52

Re: What File system format?

#11 Post by xendistar »

Well there was on Thursday when I powered the terminal up, I decided to scrap it as it has dodgy USB ports and it is over 5 year old.

Thanks for your help, if I can find out what is on there I will post back here.

Post Reply