[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HELP - Can't boot - I/O error reading swsusp.image



On 5/4/08, NN_il_Confusionario <pinkof.pallus@tiscalinet.it> wrote:
> On Sat, May 03, 2008 at 05:23:46PM -0400, wa9als@gmail.com wrote:
> > attempt to access beyond end of device
> > hda2: rw=16, want=8, limit=2
> > I/O error reading swsusp image.
>
> one case where "access beyond end of device" can happen is this:
>
> You delete a partition on a disk where also other partitions are used
> (mounted, or used for swap).
>
> Then, without rebooting, you recreate the partition but not with
> _exactly_ the same starting and ending point (in this case, a ending
> point which is before the previous one)
>
> Again without rebooting, you start using the re-created partition. The
> kernel sitll has in memory (and in /proc/partitions) the OLD starting
> and ending points of the partition, so mkswap, mkfs*, whatever still use
> the "old geometry".
>
> Then you reboot, and at the reboot the kernel reads the new partition
> table ...

This is a killer - I did a fresh etch install, then restored some
mondo backup files using mondorestore.  Things ere mostly working at
that point.  But then I did an update and upgrade, and now I am
getting the same swsusp error I had before and can't boot!  I have no
idea where this is coming from!  I guess I'll reformat my drive and
start over!  - John


Reply to: