Menu

#1 "Remove Linux" doesn't work in 0.6.3

0.6.3
open
filesystem (3)
2
2006-10-27
2006-08-23
No

After selecting card (SD 128Mb):

ext2 (linux) partition successfully removed
Looking for FAT partition
Found
Growing FAT
Starting Parted script
...
Resizing partition 1
FAILED
Error growing FAT

Discussion

  • Paul Sokolovsky

    Paul Sokolovsky - 2006-08-23
    • priority: 5 --> 6
    • assigned_to: nobody --> marcusbrutus
     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-08-23

    Logged In: YES
    user_id=11970

    Marcus, was this implemented/tested?

     
  • Marcus Brown

    Marcus Brown - 2006-08-23

    Logged In: YES
    user_id=1398882

    This was working properly in earlier versions.
    I have noted the problem, however, and I believe I may have
    addressed the issue in the scratch branch.

     
  • Marcus Brown

    Marcus Brown - 2006-09-03
    • status: open --> closed
     
  • Marcus Brown

    Marcus Brown - 2006-09-03

    Logged In: YES
    user_id=1398882

    Related to old version of dosfstools.
    Corrected by Paul's upgrade.
    Fixed in 0.6.2

     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-09-12
    • summary: "Remove Linux" doesn't work in 0.6.1 --> "Remove Linux" doesn't work in 0.6.2
    • milestone: 631962 --> 632974
    • status: closed --> open
     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-09-12

    Logged In: YES
    user_id=11970

    Unfortunately, this is not fixed. Same error as in the
    initial description. Reopening.

     
  • Marcus Brown

    Marcus Brown - 2006-09-13

    Logged In: YES
    user_id=1398882

    Added debug output for this issue in rev 208.

     
  • Marcus Brown

    Marcus Brown - 2006-09-13
    • labels: --> filesystem
     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-10-05
    • summary: "Remove Linux" doesn't work in 0.6.2 --> "Remove Linux" doesn't work in 0.6.3
     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-10-05

    Logged In: YES
    user_id=11970

    Ok, scenario:
    1. That unlucky card was formatted via Canon A510 camera.
    2. Familiar installed on it (converted fat16->fat32,
    shrinked fat32, all ok).
    3. Now, want to Remove Linux.

    Below fdisk output and paul-SD128-sector1.dd is *before*
    running Remove Linux:

    root@ramdisk-rescue:~# fdisk -l /dev/mmcblk0

    Disk /dev/mmcblk0: 128 MB, 128450560 bytes
    8 heads, 32 sectors/track, 980 cylinders
    Units = cylinders of 256 * 512 = 131072 bytes

    Device Boot Start End Blocks
    Id System
    /dev/mmcblk0p1 1 352 45040
    6 FAT16
    /dev/mmcblk0p2 * 354 979 80128
    83 Linux

    root@ramdisk-rescue:~# fdisk -lu /dev/mmcblk0

    Disk /dev/mmcblk0: 128 MB, 128450560 bytes
    8 heads, 32 sectors/track, 980 cylinders, total 250880
    sectors
    Units = sectors of 1 * 512 = 512 bytes

    Device Boot Start End Blocks
    Id System
    /dev/mmcblk0p1 32 90111 45040
    6 FAT16
    /dev/mmcblk0p2 * 90368 250623 80128
    83 Linux

    root@ramdisk-rescue:~# parted -s /dev/mmcblk0 print unit s
    print unit cyl print
    Disk geometry for /dev/mmcblk0: 0kB - 128MB
    Disk label type: msdos
    Number Start End Size Type File system
    Flags
    1 16kB 46MB 46MB primary fat16
    2 46MB 128MB 82MB primary ext2 boot
    Disk geometry for /dev/mmcblk0: 0s - 250879s
    Disk label type: msdos
    Number Start End Size Type File system
    Flags
    1 32s 90111s 90080s primary fat16
    2 90368s 250623s 160256s primary ext2 boot
    Disk geometry for /dev/mmcblk0: 0cyl - 979cyl
    BIOS cylinder,head,sector geometry: 980,8,32. Each
    cylinder is 131kB.
    Disk label type: msdos
    Number Start End Size Type File system
    Flags
    1 0cyl 351cyl 351cyl primary fat16
    2 353cyl 978cyl 626cyl primary ext2 boot

     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-10-05

    MBR before running Remove Linux

     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-10-05

    Logged In: YES
    user_id=11970

    Ok, scenario:
    1. That unlucky card was formatted via Canon A510 camera.
    2. Familiar installed on it (converted fat16->fat32,
    shrinked fat32, all ok).
    3. Now, want to Remove Linux.

    Below fdisk output and paul-SD128-sector1.dd is *before*
    running Remove Linux:

    root@ramdisk-rescue:~# fdisk -l /dev/mmcblk0

    Disk /dev/mmcblk0: 128 MB, 128450560 bytes
    8 heads, 32 sectors/track, 980 cylinders
    Units = cylinders of 256 * 512 = 131072 bytes

    Device Boot Start End Blocks
    Id System
    /dev/mmcblk0p1 1 352 45040
    6 FAT16
    /dev/mmcblk0p2 * 354 979 80128
    83 Linux

    root@ramdisk-rescue:~# fdisk -lu /dev/mmcblk0

    Disk /dev/mmcblk0: 128 MB, 128450560 bytes
    8 heads, 32 sectors/track, 980 cylinders, total 250880
    sectors
    Units = sectors of 1 * 512 = 512 bytes

    Device Boot Start End Blocks
    Id System
    /dev/mmcblk0p1 32 90111 45040
    6 FAT16
    /dev/mmcblk0p2 * 90368 250623 80128
    83 Linux

    root@ramdisk-rescue:~# parted -s /dev/mmcblk0 print unit s
    print unit cyl print
    Disk geometry for /dev/mmcblk0: 0kB - 128MB
    Disk label type: msdos
    Number Start End Size Type File system
    Flags
    1 16kB 46MB 46MB primary fat16
    2 46MB 128MB 82MB primary ext2 boot
    Disk geometry for /dev/mmcblk0: 0s - 250879s
    Disk label type: msdos
    Number Start End Size Type File system
    Flags
    1 32s 90111s 90080s primary fat16
    2 90368s 250623s 160256s primary ext2 boot
    Disk geometry for /dev/mmcblk0: 0cyl - 979cyl
    BIOS cylinder,head,sector geometry: 980,8,32. Each
    cylinder is 131kB.
    Disk label type: msdos
    Number Start End Size Type File system
    Flags
    1 0cyl 351cyl 351cyl primary fat16
    2 353cyl 978cyl 626cyl primary ext2 boot

     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-10-05

    Logged In: YES
    user_id=11970

    Sorry for double-post.

     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-10-05

    Logged In: YES
    user_id=11970

    Ok, so "Remove Linux" failed as usual, in FAT grow. syslog
    is attached. Alas, it lacks any useful info. Going to add
    parted command/outpu logging to syslog now.

     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-10-05
    • milestone: 632974 --> 0.6.3
     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-10-05

    syslog for failed Remove Linux operation

     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-10-05

    Logged In: YES
    user_id=11970

    Attached MBR of the same card, Canon-formatted.

     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-10-05

    MBR of the same card, Canon-formatted

     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-10-06

    syslog woth parted cmds for successful Install Linux

     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-10-06

    Logged In: YES
    user_id=11970

    Applied patch to log parted commands to syslog. FYI, a
    syslog of *successful* Linux install (just to compare with
    later filaure reports).

     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-10-27
    • assigned_to: marcusbrutus --> pfalcon
    • priority: 6 --> 2
     
  • Paul Sokolovsky

    Paul Sokolovsky - 2006-10-27

    Logged In: YES
    user_id=11970

    Seems like parted doesn't like geometry of this exact card, as it works for Marcus.

     

Log in to post a comment.