Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MacBook-pro unknows partition table with usb pendrive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Mon Mar 08, 2010 8:51 am    Post subject: MacBook-pro unknows partition table with usb pendrive Reply with quote

Hi,
I have a kernel-2.6.33 on intel macbook-pro: all works fine now, but i've a problem
when I use hp usb pendrive...
dmesg shows me that hardware is successfully recognized (HP serial code and so on...) but
when it tries to automatically mount:
Code:
sdc: unknown partition table


If I try to mount manually, with or without -t (auto, smbfs, ntfs) he says me: you must specify a partition type (ok it isn't map on sdc1 and so on...)

I've used that pen with other gentoo distribution, so i think all necessary kernel module are included...

Any suggestions are welcome

Thanks
Gianni
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Mon Mar 08, 2010 10:52 am    Post subject: Reply with quote

what do you get for:

Code:
# fdisk /dev/sdc


You should be mounting something like /dev/sdc1 if its there.
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Mon Mar 08, 2010 6:44 pm    Post subject: Reply with quote

richard.scott wrote:
what do you get for:

Code:
# fdisk /dev/sdc


You should be mounting something like /dev/sdc1 if its there.


sdc1 there isn't because of partition table problem

This is output:
Code:

localhost ~ # fdisk /dev/sdc

Command (m for help): p

Disk /dev/sdc: 2021 MB, 2021654016 bytes
255 heads, 63 sectors/track, 245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x91f72d24

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1         246     1974240    b  W95 FAT32
Partition 1 has different physical/logical endings:
     phys=(244, 254, 63) logical=(245, 200, 18)


All is corrent: 2GB and FAT32...
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Mon Mar 08, 2010 9:17 pm    Post subject: Reply with quote

Do you have any data on the disk?

If not, I'd delete sdc1 and re-create it.... don't forget to re-set the partition type to FAT32

You can format it, and it should work in both linux and windows then.

Rich.
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Tue Mar 09, 2010 8:22 am    Post subject: Reply with quote

richard.scott wrote:
Do you have any data on the disk?

If not, I'd delete sdc1 and re-create it.... don't forget to re-set the partition type to FAT32

You can format it, and it should work in both linux and windows then.

Rich.


I've more data on the disk...under linux sdc1 isn't created...
now partition type is FAT32, after format is FAT32...where is the difference?
Only thing I can think is that i use it under MacOSx...perhaps that is a problem (macOs create strainge file on usbpen)?!
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Tue Mar 09, 2010 9:34 am    Post subject: Reply with quote

I've tried with another pendrive...formatting it under windows (FAT32): same result

It seems that really it isn't support for any fat/32 ntfs partition.
I'm not able to format it under linux because there isn't any mkfs.smbfs or similar
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Wed Mar 10, 2010 10:21 am    Post subject: Reply with quote

I've noticed that when you delete and create partitions under windows it creates them with incorrecy boundrys, but creating them under Linux makes them correctly.

You could install dosfstools to get mkfs.vfat to format FAT32?

Rich.
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Wed Mar 10, 2010 10:26 am    Post subject: Reply with quote

richard.scott wrote:
I've noticed that when you delete and create partitions under windows it creates them with incorrecy boundrys, but creating them under Linux makes them correctly.

Rich.

As i've said, i've used that pen as is, under old gentoo-pc and it was ok (with original win FAT32)!
I can try to use dosfstools
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Thu Mar 11, 2010 8:43 am    Post subject: Reply with quote

8O 8O 8O

Incredible...
yesterday i've updated iMac24 (9,1) with kernel 2.6.33...
I've tried to insert the same usb pendriver and....incredible!!!
dmesg shows me that sdb1 was created; in fact i've mounted that and
i've seen all content of pendrive. :roll:

Hardaware and kernel option are the same of macbook-pro!
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Fri Mar 12, 2010 2:30 pm    Post subject: Reply with quote

DevOne wrote:
8O 8O 8O

Incredible...
yesterday i've updated iMac24 (9,1) with kernel 2.6.33...
I've tried to insert the same usb pendriver and....incredible!!!
dmesg shows me that sdb1 was created; in fact i've mounted that and
i've seen all content of pendrive. :roll:

Hardaware and kernel option are the same of macbook-pro!


No idea or question about it!? :roll:
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Fri Mar 19, 2010 10:54 am    Post subject: Reply with quote

I cannot use any usb pen!! :?
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Thu Apr 01, 2010 12:56 pm    Post subject: Reply with quote

DevOne wrote:
I cannot use any usb pen!! :?


How is it possible?
Maybe iMac24 hardware differs from macbook-pro in usb managment!?
No idea?
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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