Page 1 of 1

[SOLVED] Upgrade from Mageia 2 to 3

PostPosted: Jun 2nd, '13, 07:58
by RoyD
As the docs suggested it says to make sure that device map and menu.lst points to Sda. Mine is sdd. I have 4 physical drives so I thought I would remove the drives /backup, /vmm and /driveb. Mageia failed to boot correctly it went to terminal with the words Emergency words ending in ¨press Control D etc.¨ So I put the drives back in and it booted up fine. I had this problem several times before eg terminal Emergency words ending in ¨press Control D etc ¨with upgrades. I believe I have some thing wrong from the start and it would be good to fix this problem so the upgrades are easy (relative) , and they should be. Should I have the Home,root,swap drive in sata 1 or does it make no difference?
To upgrade I have tried several times with adjusting the fstab , un-mounting the drive then disconnecting the cable but I keep coming back to terminal Emergency words ending in ¨press Control D etc.¨
I wonder if I can fix this for once and for all, so I can upgrade that is not a pain in the a. I do use Mageia as my main system. I don't mine starting from scratch?. Any suggestions would be most appreciated. The following is details is before changes. Thanks Roy
menu lst
Code: Select all
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0

title linux
Code: Select all
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=6bf0e665-4a3c-4cbb-83fb-160e1a07a2cd splash quiet resume=UUID=824109d0-5dbb-4a12-a37b-36c9ccf568de vga=788
initrd (hd0,0)/boot/initrd.img

title desktop 3.3.6-2.mga2
kernel (hd0,0)/boot/vmlinuz-3.3.6-desktop-2.mga2 BOOT_IMAGE=desktop_3.3.6-2.mga2 root=UUID=6bf0e665-4a3c-4cbb-83fb-160e1a07a2cd splash quiet resume=UUID=824109d0-5dbb-4a12-a37b-36c9ccf568de vga=788
initrd (hd0,0)/boot/initrd-3.3.6-desktop-2.mga2.img

My device map is
Code: Select all
(hd0) /dev/sdd
(hd1) /dev/sda
(hd2) /dev/sdb
(hd3) /dev/sdc

My Fstab
Code: Select all
# Entry for /dev/sda1 :
UUID=6bf0e665-4a3c-4cbb-83fb-160e1a07a2cd / ext4 acl,relatime 1 1
# Entry for /dev/sdc1 :
LABEL=backup /backup ext4 defaults 1 2
# Entry for /dev/sda6 :
UUID=4afe422f-47ac-48fe-b8e2-286eb0a0e1c5 /home ext4 acl,relatime 1 2
/dev/sr0 /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda1 :
UUID=86cebd0f-f126-4d48-9499-5afd46e01745 /vmm ext3 defaults 1 2
# Entry for /dev/sda5 :
UUID=824109d0-5dbb-4a12-a37b-36c9ccf568de swap swap defaults 0 0:


Code: Select all
[roy@localhost ~]$ df
Filesystem      Size  Used Avail Use% Mounted on
rootfs           12G  7.1G  4.2G  64% /
devtmpfs       1009M     0 1009M   0% /dev
tmpfs          1012M  1.4M 1011M   1% /dev/shm
tmpfs          1012M  728K 1012M   1% /run
/dev/sdd1        12G  7.1G  4.2G  64% /
tmpfs          1012M     0 1012M   0% /sys/fs/cgroup
/dev/sdd6       902G  266G  636G  30% /home
/dev/sda1        74G   39G   32G  56% /vmm
[roy@localhost ~]$ ^C

Re: Upgrade from Mageia 2 to 3

PostPosted: Jun 2nd, '13, 09:43
by doktor5000
Did you remove the drives physically, meaning you unplugged them? Please only comment them out in your /etc/fstab, change as follows:
# Entry for /dev/sda1 :
UUID=6bf0e665-4a3c-4cbb-83fb-160e1a07a2cd / ext4 acl,relatime 1 1
# Entry for /dev/sdc1 :
#LABEL=backup /backup ext4 defaults 1 2
# Entry for /dev/sda6 :
UUID=4afe422f-47ac-48fe-b8e2-286eb0a0e1c5 /home ext4 acl,relatime 1 2
#/dev/sr0 /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda1 :
#UUID=86cebd0f-f126-4d48-9499-5afd46e01745 /vmm ext3 defaults 1 2
# Entry for /dev/sda5 :
UUID=824109d0-5dbb-4a12-a37b-36c9ccf568de swap swap defaults 0 0


Also better comment out the cdrom entry, that's not needed and may cause some problems later on during normal use with the CD/DVD drive.

Re: [SOLVED] Upgrade from Mageia 2 to 3

PostPosted: Jun 3rd, '13, 00:52
by RoyD
Thank you doktor5000
The instructions really worked well. All drives are now all reconnected back by their sata leads. Changed my Fstab back to orginal (except for the rem on the cd). The distro looks really good. Thanks everybody for producing a fine distro.
Cheers Roy