MIB looks for other deleted linux swap partition

General conversations about MIB project
Forum rules
Image
Before you post, please read forum rules:
Software requests - How to
Tag [SOLVED] in topics
Post Reply
User avatar
eekie
Utente junior
Utente junior
Posts: 17
Joined: 5 January 2010, 15:57
OpenMandriva: 2010
Desktop: KDE

MIB looks for other deleted linux swap partition

Post by eekie »

MIB startup takes 1 minute longer because it looks for a swap partition belonging to a linux distro that has been deleted.
I did not find it in fstab. In which file can I delete this command?

User avatar
rugyada
Amministratore
Amministratore
Posts: 1562
Joined: 14 July 2008, 22:58
ROSA: ROSA.Fresh R8 64bit
OpenMandriva: OMLx 4.2
Kernel: kernel-release
Desktop: KDE tutta la vita
country: Italy

Re: MIB looks for other deleted linux swap partition

Post by rugyada »

Hi eekie,
this should be similar to the problem I had a few time ago.

see:
http://mib.pianetalinux.org/mib/forum/v ... =21&t=1874
even if in italian it should be clear, btw you can find solution in errata:
http://wiki.mandriva.com/en/2010.0_Erra ... _to_appear

As your partition has been deleted, you maybe could skip the first steps (give a look to /boot/grub/menu.lst file too) and only try by recreating the initrd.

Code: Select all

su
bootloader-config --action rebuild-initrds
Image
ciauu ciauu, ruru

MIB... e le stelle stanno a guardare.
«E' bello avere delle certezze, tipo la terra gira, il sole è caldo, se ti prendi con quelli del MIB vieni fanculizzato. Cose semplici, in fondo» (M.C.)

User avatar
eekie
Utente junior
Utente junior
Posts: 17
Joined: 5 January 2010, 15:57
OpenMandriva: 2010
Desktop: KDE

Re: MIB looks for other deleted linux swap partition

Post by eekie »

Thanks for the swift reply. I fear my descryption of the problem was not correct. The partition MIB looks for is the system partition of the deleted distro.
The blkid command yields:

[root@localhost johan]# blkid
/dev/sdc5: UUID="0d650056-a3be-45d3-b28d-10d5bfacd97c" TYPE="ext4"
/dev/sda1: UUID="06EF9B344911FF5B" LABEL="data" TYPE="ntfs"
/dev/sda2: UUID="9E6EBCCC6EBC9F09" LABEL="Werkschijf" TYPE="ntfs"
/dev/sdb1: UUID="559DE19C4EFF515A" LABEL="systeembackupschijf" TYPE="ntfs"
/dev/sdc1: UUID="0A12B4ED12B4DEBF" LABEL="Door systeem gereserveerd" TYPE="ntfs"
/dev/sdc6: UUID="45775196-d186-4a38-bfa7-63e3bb12a4b0" TYPE="ext4"
/dev/sdc7: UUID="d2b54ecc-2bc0-4b7a-9228-ff0d66b71f2b" TYPE="swap"
/dev/sdc8: UUID="2e980032-f155-4a96-8592-64a553102cf1" TYPE="ext3"
/dev/sdc9: UUID="f23e3ffc-0005-4d50-ba5c-00b995a5682c" TYPE="ext4"
/dev/sdc10: UUID="ea6eab4f-dfdc-45e2-9515-48de0d8a3c56" TYPE="ext4"
/dev/sdc11: UUID="1aa1e5a9-6476-43d2-837d-34b96d86e7a6" TYPE="ext4"
/dev/sdd1: LABEL="linuxsysteemback" UUID="4e90caf2-d52f-41fb-b193-c9f941a7f17f" TYPE="ext4"
/dev/sdc2: UUID="580C3C630C3C3E76" LABEL="windows7x86" TYPE="ntfs"
/dev/sdc3: UUID="40E2C5ADE2C5A78C" LABEL="windows7x64" TYPE="ntfs"
/dev/sdc12: UUID="a76e40e3-ace4-4db6-86f1-a085aac7f3a2" TYPE="ext4"

The missing partition is /dev/sdc5.
I don't have it in fstab nor in menu.lst. So again where can I find it?

User avatar
rugyada
Amministratore
Amministratore
Posts: 1562
Joined: 14 July 2008, 22:58
ROSA: ROSA.Fresh R8 64bit
OpenMandriva: OMLx 4.2
Kernel: kernel-release
Desktop: KDE tutta la vita
country: Italy

Re: MIB looks for other deleted linux swap partition

Post by rugyada »

Did you try the last command?

Code: Select all

bootloader-config --action rebuild-initrds
in a root console.

Notice, it could take some minutes, so wait until you have the console prompt again.
Than reboot.
Image
ciauu ciauu, ruru

MIB... e le stelle stanno a guardare.
«E' bello avere delle certezze, tipo la terra gira, il sole è caldo, se ti prendi con quelli del MIB vieni fanculizzato. Cose semplici, in fondo» (M.C.)

User avatar
eekie
Utente junior
Utente junior
Posts: 17
Joined: 5 January 2010, 15:57
OpenMandriva: 2010
Desktop: KDE

Re: MIB looks for other deleted linux swap partition

Post by eekie »

Rugyada,
Thanks. This did the trick.
After the suggested command the terminal gives an error message:

[root@localhost johan]# bootloader-config --action rebuild-initrds
No modules available for kernel "2.6.31-21-generic".
mkinitrd failed:
(mkinitrd -f /boot/initrd-2.6.31-21-generic.img --ifneeded 2.6.31-21-generic) at /usr/lib/libDrakX/bootloader.pm line 124.

The one he can't find is of course the ubuntu distro that I removed.
Now MIB starts up in no time!

Post Reply