• Bug#265728: parted rescue command only does a return

    From Carol J. Wyche@1:229/2 to All on Sat Aug 14 19:00:14 2004
    From: [email protected]

    Package: parted
    Version: 1.6.9-3.1

    My system: 2.4.19 PPC and libc-2.3.2.so
    I have a problem with the info for parted.

    I am trying to rescue my original /dev/hda. Toward that end
    I built a new Woody on /dev/hdb according to EyeTech sheets on
    my AmigaOne:
    20 for PPC PReP Boot
    3000 for root
    1000 for swap
    rest left unpartitioned

    I cannot get parted to do ANYTHING sensible with the
    rescue command. Here is the what I did. What gives? =================================================
    GNU Parted 1.6.9
    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software
    Foundation, Inc.
    This program is free software, covered by the GNU General Public
    License.

    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY
    WARRANTY; without even the implied warranty of MERCHANTABILITY or
    FITNESS FOR A
    PARTICULAR PURPOSE. See the GNU General Public License for more
    details.

    Using /dev/hdb
    (parted) print
    Disk geometry for /dev/hdb: 0.000-26105.625 megabytes
    Disk label type: msdos
    Minor Start End Type Filesystem Flags
    1 0.031 19.195 primary
    2 19.195 2880.281 primary ext3 boot
    3 2880.281 3834.140 primary linux-swap
    (parted) rescue
    Start? 0.031
    End? 19.195
    Error: Can't have the end before the start!
    ... <so many I couldn't count 'em>
    Error: Can't have the end before the start!
    (parted) rescue
    Start? 19.195
    End? 2880.281
    (parted) rescue
    Start? 2880.281
    End? 3834.140
    (parted) rescue
    Start? 0
    End? 20
    Error: Can't have the end before the start!
    ... <so many I couldn't count 'em>
    Error: Can't have the end before the start!
    (parted) rescue
    Start? 20
    End? 3000
    (parted) rescue
    Start? 3000
    End? 4000
    (parted) quit
    Information: Don't forget to update /etc/fstab, if necessary.

    d26:~#
    ========================================================
    It cannot locate partitions on a device known to be
    perfectly OK. And it gives non-sensical error messages.



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Sven Luther@1:229/2 to Carol J. Wyche on Sun Aug 15 23:20:07 2004
    From: [email protected]

    On Sat, Aug 14, 2004 at 11:33:21AM -0500, Carol J. Wyche wrote:
    Package: parted
    Version: 1.6.9-3.1

    My system: 2.4.19 PPC and libc-2.3.2.so
    I have a problem with the info for parted.

    I am trying to rescue my original /dev/hda. Toward that end
    I built a new Woody on /dev/hdb according to EyeTech sheets on
    my AmigaOne:
    20 for PPC PReP Boot
    3000 for root
    1000 for swap
    rest left unpartitioned

    And what kind of partition was the older one ?

    I cannot get parted to do ANYTHING sensible with the
    rescue command. Here is the what I did. What gives? =================================================
    GNU Parted 1.6.9
    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software
    Foundation, Inc.
    This program is free software, covered by the GNU General Public
    License.

    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY
    WARRANTY; without even the implied warranty of MERCHANTABILITY or
    FITNESS FOR A
    PARTICULAR PURPOSE. See the GNU General Public License for more
    details.

    Using /dev/hdb
    (parted) print
    Disk geometry for /dev/hdb: 0.000-26105.625 megabytes
    Disk label type: msdos

    You are using an AmigaOne, and don't use amiga partition table, shame on you :).

    Minor Start End Type Filesystem Flags
    1 0.031 19.195 primary
    2 19.195 2880.281 primary ext3 boot
    3 2880.281 3834.140 primary linux-swap
    (parted) rescue
    Start? 0.031
    End? 19.195
    Error: Can't have the end before the start!
    ... <so many I couldn't count 'em>
    Error: Can't have the end before the start!

    Well, rescue never worked for me too, so ...

    (parted) rescue
    Start? 19.195
    End? 2880.281
    (parted) rescue
    Start? 2880.281
    End? 3834.140
    (parted) rescue
    Start? 0
    End? 20
    Error: Can't have the end before the start!
    ... <so many I couldn't count 'em>
    Error: Can't have the end before the start!

    No idea about this one. Someone (you maybe) with msdos partition table experience should give it a look.

    (parted) rescue
    Start? 20
    End? 3000
    (parted) rescue
    Start? 3000
    End? 4000
    (parted) quit
    Information: Don't forget to update /etc/fstab, if necessary.

    Seriously, it is for reason like this that i asked for co-maintainership, for people with experience with the diverse and often exotic partition tables.

    Friendly,

    Sven Luther


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)