Ubuntu Discussion on Ubuntu on the Dell Inspiron Mini range of netbooks.

Reply
 
Thread Tools Display Modes
  (#1) Old
joepp00 joepp00 is offline
Junior Member
 
Posts: 4
Join Date: Dec 2008
Default Noob question about gparted and sd media - 01-03-2009, 05:44 PM

I want to partition my SD card. Card mounts when inserted and can read-write no problem. Problem is when I run gparted, no SD card present. Tried it unmounted too with same result. Does not make sense...
Reply With Quote
  (#2) Old
GerallK GerallK is offline
Senior Member
 
Posts: 241
Join Date: Oct 2008
Location: Beaumont, TX US
Send a message via Yahoo to GerallK
Default Re: Noob question about gparted and sd media - 01-03-2009, 06:32 PM

How comfortable are you with the command line?

SD cards become /dev/mmcblk0 for the raw device, then (typically) have a single partition on them named /dev/mmcblk0p1.

You can fire up a Terminal, 'sudo bash', and get your partitions set up that way.

You might want to take a look at this thread as well... In that one, we move a lot of stuff over to the SD card. There's useful info about partitioning there, too.

Good luck - keep us posted.


Obsidian Mini 9 > 2gb ram, 16gb ssd, bluetooth, 1.3mp webcam, us-intl kbd
Internal Mods > usb hub, 16gb flash drive, 8gb flash drive, added webcam, changed kbd
Software Mods > Dellbuntu 8.04.1 | Gentoo 2008.0
Reply With Quote
  (#3) Old
joepp00 joepp00 is offline
Junior Member
 
Posts: 4
Join Date: Dec 2008
Default Re: Noob question about gparted and sd media - 01-03-2009, 08:31 PM

thanks GerallK
the problem is that the sd card does not show up as a device in gparted!
I can use the card, mounts ok when inserted...
and there is a mmcblk0 and mmcblk0p1 in /dev.
I'm running 8.10 with netbook remix. Not the lpia that it came with.
Any ideas?
Thanks for your help
Reply With Quote
  (#4) Old
GerallK GerallK is offline
Senior Member
 
Posts: 241
Join Date: Oct 2008
Location: Beaumont, TX US
Send a message via Yahoo to GerallK
Default Re: Noob question about gparted and sd media - 01-04-2009, 04:24 PM

Might want to try:

1 - turn the Mini off
2 - insert the SD card
3 - boot the Mini
4 - fire up gparted
5 - refresh devices (from the menu: gparted -> refresh devices, or ctrl-R)

and see if it shows up... I remember having trouble getting it to show up unless the Mini was booted with it in the slot already. Drivers for it are registered earlier in the boot process if it's already in the slot when you turn the device on.

I would also NOT remove the card until after you've changed it partitions and the like.

Good luck - keep us posted.


Obsidian Mini 9 > 2gb ram, 16gb ssd, bluetooth, 1.3mp webcam, us-intl kbd
Internal Mods > usb hub, 16gb flash drive, 8gb flash drive, added webcam, changed kbd
Software Mods > Dellbuntu 8.04.1 | Gentoo 2008.0
Reply With Quote
  (#5) Old
joepp00 joepp00 is offline
Junior Member
 
Posts: 4
Join Date: Dec 2008
Default Re: Noob question about gparted and sd media - 01-16-2009, 10:59 PM

I think I found the problem...In a terminal type:
SD card mounts in /media/disk
shouldn't it be /media/SDcard?
how do I change it or do I even need to?
Reply With Quote
  (#6) Old
GerallK GerallK is offline
Senior Member
 
Posts: 241
Join Date: Oct 2008
Location: Beaumont, TX US
Send a message via Yahoo to GerallK
Default Re: Noob question about gparted and sd media - 01-19-2009, 06:24 PM

The program that senses the insertion of media (USB sticks, SD cards, etc) uses the generic name "disk" to refer to devices (without a disk label) that are plugged into the machine. Plug in an SD card, and it shows up as /media/disk.

Leave the SD card in, and plug in a USB stick. It will mount to /media/disk-1

If you un-mount both devices and plug them in in reverse order (USB stick, then SD card), their names would be reversed:

/media/disk = USB stick
/media/disk-1 = SD card

If you want to have a given device mount with a specific name, you have to set the disklabel for that volume.

Most of the flash-memory devices nowadays come formatted with Microsoft's FAT16 / FAT32 filesystem. Here's the official How-To on renaming flash devices for Ubuntu. There are instructions there for the FAT filesystems, as well as native Linux filesystems too.

You don't need to change the labels, but it can aid in organizing your media...


Obsidian Mini 9 > 2gb ram, 16gb ssd, bluetooth, 1.3mp webcam, us-intl kbd
Internal Mods > usb hub, 16gb flash drive, 8gb flash drive, added webcam, changed kbd
Software Mods > Dellbuntu 8.04.1 | Gentoo 2008.0
Reply With Quote
  (#7) Old
Odin Odin is offline
Junior Member
 
Posts: 9
Join Date: Jan 2009
Location: Germany
Default Re: Noob question about gparted and sd media - 01-20-2009, 02:50 PM

Your SD card auto-mounts correctly, but is not visible in gparted? Then please save your precious time. This is a confirmed bug in Ubuntu 8.10 https://bugs.launchpad.net/ubuntu/+s...ux/+bug/275345 which is still present in the most current kernel 2.6.27.9. Let's hope for a fix. The bug itself means nothing serious, because the SD card can be listed, formatted and renamed as usual by command line tools like fdisk, mkfs, e2label etc. The device is addressed by default /dev/mmcblk0 and the first partition on it is /dev/mmcblk0p1.
Reply With Quote
Reply

« Previous Thread | Next Thread »
Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Copyright © 2008-2016 MyDellMini.com.