ts-7000
[Top] [All Lists]

Re: [ts-7000] SD card

To:
Subject: Re: [ts-7000] SD card
From: "Theodore A. Roth" <>
Date: Fri, 31 Oct 2008 14:59:57 -0700
On Fri, Oct 31, 2008 at 1:55 PM, Larry <> wrote:
> Ted
>   I tried to do what you have here. I'm optomistic it will work.
> However, I think I may have something else fundamentally wrong.
> I am unable to change the partition table. I use fdisk to make edits then
> write the new table.
> Then I exit.
> I go back in to fdisk and print the table and it's exactly as I started. The
> changes don't get written.
> It's very strange!
> Any suggestions? I've checked the write protect switch and that's not it.

Are you using 'q' or 'w' to quit the fdisk program after making your
changes? If you use 'q', the partition table will not be changed.

Also, are you running fdisk as root? If not, then it will go through
the motions and even when you exit with 'w', no changes will be saved
to the device. Running fdisk as non-root just now gives this output:

### BEGIN EXAMPLE OUTPUT
$ fdisk /dev/mmcblk0

The number of cylinders for this disk is set to 61264.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/mmcblk0: 2007 MB, 2007498752 bytes
4 heads, 16 sectors/track, 61264 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk identifier: 0x00000000

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1               5         516       16384   83  Linux
/dev/mmcblk0p2             517        1028       16384   da  Non-FS data
/dev/mmcblk0p3            1029        1540       16384   da  Non-FS data
/dev/mmcblk0p4            1541       61264     1911168   83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 13: Permission denied.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
### END EXAMPLE OUTPUT

Notice the WARNING.

Ted Roth

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU