re: preupgrade failure problem with swap Solved

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

 



> ------------------------------
> 
> Message: 15
> Date: Tue, 27 Jul 2010 09:10:30 +0000 (UTC)
> From: JB <jb.123abc@xxxxxxxxx>
> Subject: fc13 preupgrade failure on swap
> To: users@xxxxxxxxxxxxxxxxxxxxxxx
> Message-ID: <loom.20100727T105136-975@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=us-ascii
> 
> Don Vogt <dnvot <at> yahoo.com> writes:
> 
> > 
> > I have been using fedora since fedora 4 with great
> satisfaction. I tried to
> > do an fc12 to fc13 preupgrade. All
> > went fine until I was running anaconda ( I believe)
> with the install.img.
> > I got a pop-up that said the swap
> > device has not been created and that " The /etc/fstab
> on your upgrade
> > partition does not reference a valid
> > swap device" When I click OK the system reboots and
> the upgrade fails.
> >  I have checked my swaps in the fc12 system and
> they seem OK, Top shows
> > the swap partitions are there " I
> > actually have three swap partition on two different
> drives. I checked
> > the swaps in fstab on fc12 using
> > findfs and they seem OK, UIIDs and /dev entries. I
> suspect that the upgrade
> > partition it refers to is in the install.img.
> >  I have another partition with fc13, on which I
> used preupgrade to upgrade 
> > from fc12 It was a very smooth procedure. That kind of
> rules out hard drive
> > problems. Unless something changed.
> > Does anyone have a suggestion on how to fix fstab, or
> what the problem
> > might be?
> > Also, is there a way to undo the preupgrade attempt,
> so I can try again?
> > Any other suggestions will be welcome.
> > 
> Hi,
> please give us more info (do not cut/edit the output).
> 
> Layout of both disks:
> # fdisk -l /dev/sda
> # fdisk -l /dev/sdb
> 
> For F12 (the one you try to preupgrade) log in and get an
> output:
> # cat /etc/fstab
> For F13 (the one you already preupgrade-ed) log in and get
> an output:
> # cat /etc/fstab
> 
> By the way:
> when you run preupgrade the next time (2nd, 3rd, etc) you
> are asked whether
> you want to continue from the point of previous
> stop/failure point or from
> the very beginning.
> IMPORTANT: I would advise you to stop changing anything on
> your machine (disk
> layout, swaps, /etc/fstab, etc) so that the data I ask you
> for above is true
> from that point on and we can help you !
> JB
> 
> 
> 
> 
> ------------------------------
> 
 I found an easy solution and completed the preupgrade last night.
First i tried adding a swap file, because the message said my fstab does not have a valid swap file. I thought it might be making a distinction between swap partitions and a swap file. That didn't make any difference.
 I then commented out my swap partitions in the fc12 fstab and tried preupgrade again and it worked.
 Sorry, I didn't get your message about not changing things until this morning.

In case you still want here are the outputs you asked for

 sudo fdisk -l

Disk /dev/sda: 13.6 GB, 13601193984 bytes
255 heads, 63 sectors/track, 1653 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000bbbf3

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         261     2096451    6  FAT16
/dev/sda2             262        1653    11181240    f  W95 Ext'd (LBA)
/dev/sda5             262         522     2096451    6  FAT16
/dev/sda6             523         783     2096451    6  FAT16
/dev/sda7             784        1000     1743021    6  FAT16
/dev/sda8            1001        1576     4626688+  83  Linux
/dev/sda9            1621        1653      265041   82  Linux swap / Solaris

Disk /dev/sdb: 4303 MB, 4303272960 bytes
255 heads, 63 sectors/track, 523 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c786b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         409     3285261   83  Linux
/dev/sdb2             410         523      915705   82  Linux swap / Solaris

Disk /dev/sdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d0450

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1         127     1020096   83  Linux
/dev/sdc2             128        2677    20482875    b  W95 FAT32
/dev/sdc3            2678        6501    30716280   83  Linux
/dev/sdc4            6502       19237   102301920    5  Extended
/dev/sdc5            6502       10325    30716248+  83  Linux
/dev/sdc6           10326       10580     2048256   82  Linux swap / Solaris
/dev/sdc7   *       10581       18987    67529196   83  Linux
/dev/sdc8           18988       19237     2008093+  82  Linux swap / Solaris

from the upgraded system.
  cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Tue Jul 27 05:06:07 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=0c1a3c8c-1564-4b4a-979e-31f46199079e /                       ext3    defaults        1 1
UUID=3ab5d70f-8de3-4eaf-b30c-83a477bc4797 swap                    swap    defaults        0 0
UUID=33a1e0cd-06cb-4e79-883d-f1ccf50e73c6 swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0

 






      
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux