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

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



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 ...

-- 
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.


Reply to: