LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mageia
User Name
Password
Mageia This forum is for the discussion of Mageia Linux.

Notices


Reply
  Search this Thread
Old 10-17-2014, 10:47 AM   #1
badsector
Member
 
Registered: Aug 2014
Distribution: Suse, Slackware, Mageia, Debian
Posts: 39

Rep: Reputation: 0
Failure to boot due OS or SWAP uuid mismatch: workaround if using grub legacy


This is NOT a [solved]

It's been discussed ad infinitum on usenet as well as in web hosted groups that for example when another distro is installed and that installation RE-creates the swap and thus gives it a new UUID the next boot of Mageia will likely fail because it cannot do a resume or such. There seems to be no shiortage of other related problems especually on multi-OS boxes or when using dd [as I do ALL THE TIME]. In my case I'm tinkering with v-5a2 but I've seen this on 4.x as well but only on Mageia systems. It has to do with the use of uuid but it probably also involves the way it is used in service.

The short of the long is that I found a quick workaround *IF* using grub legacy, something similar might be devisable with other loaders, I use only grub legacy.


- bail out of the grub menu [hit 'c']

- do [i use partition 5 on this one]

grub > root (hd0,4)
grub > kernel /boot/vmlinuz root=/dev/sda5
grub > boot

this completely sidesteps the initrd command & argument and worked on MY setup

HTH

I hope all distros stop making this uuid crap mandatory instead of an option
 
Old 10-17-2014, 11:40 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
you are really barking up the wrong tree here.
simply don't create a swap partition when installing; you can add it to your /etc/fstab manually later.
no need to mess with grub or any other bootloader.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help regarding dual boot slack 14 with other Linux (uses grub/grub2 and UUID) Lilgamesh Slackware 5 04-03-2013 02:14 PM
[SOLVED] Generate /boot/grub/menu.lst with UUID instead of mapped name? uhcafigdc Linux - Software 6 08-03-2010 03:40 PM
How do I need to format grub entry to boot from grub2 into grub legacy? mitchell7man Linux - Software 6 04-03-2010 03:03 AM
[SOLVED] How do I boot up In Grub2 If It is using grub legacy now ? obnascar Linux - Software 2 10-22-2009 12:08 PM
boot failure due to insufficient space ?? samik Fedora - Installation 3 07-27-2005 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mageia

All times are GMT -5. The time now is 08:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration