[SOLVED] Upgrade from Mageia 2 to 3

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Upgrade from Mageia 2 to 3

Postby RoyD » Jun 2nd, '13, 07:58

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
Last edited by RoyD on Jun 3rd, '13, 00:45, edited 1 time in total.
Using Mageia 5 KDE 32bit on an Intel(R) Core(TM)2 Quad CPU Q6600, Asus P5K-E, XFX GeForce 8800 GTS 512mb, 4096 MB ram
User avatar
RoyD
 
Posts: 139
Joined: Jan 7th, '12, 06:33
Location: New Zealand

Re: Upgrade from Mageia 2 to 3

Postby doktor5000 » Jun 2nd, '13, 09:43

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Upgrade from Mageia 2 to 3

Postby RoyD » Jun 3rd, '13, 00:52

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
Using Mageia 5 KDE 32bit on an Intel(R) Core(TM)2 Quad CPU Q6600, Asus P5K-E, XFX GeForce 8800 GTS 512mb, 4096 MB ram
User avatar
RoyD
 
Posts: 139
Joined: Jan 7th, '12, 06:33
Location: New Zealand


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest