LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 12-06-2012, 08:36 AM   #1
linuxguy7820
Member
 
Registered: Mar 2011
Distribution: CentOS, RHEL, Fedora
Posts: 35

Rep: Reputation: 0
Fedora 17 yum update prevents system from booting or reinstalling


I switched over to Fedora 17 from CentOS 6.3 because I wanted the newer features offered in KDE 4.8 here's my issue(s) (I'll just give the skinny)

General setup:

Computer Specs:
Dell Studio 1749 Laptop
500GB drive
8Gb Memory

* Disk layout (I create):
/dev/sda1 = /boot
/dev/sda2 = / (LUKS encrypted)
/dev/sda3 = swap (12GB)

> Installed via Fedora 17 DvD
> Labeled partitions (boot, root)
> Changed fstab to use disk labels (swap to use /dev/sda3), mounts all worked (after reboot)
> Ran yum update (completed sucessfully)
>> When the system reboots it sits at a GRUB screen (that's all it displays) it's not a GRUB prompt where it's waiting for input, the keyboard is frozen and I'm unable to type in anything.
>> I can run rescue mode from the DvD and chroot /mnt/sysimage
>> Can run grub2-install /dev/sda1 which gives a general warning about ext2 filesystems but it says operation was sucessful
>> Can run grub2-mkconfig -o /boot/grub2/grub.cfg which finds the filesystems and completes sucessfully
> When I reboot it sits at the GRUB prompt again with the keyboard frozen
> Ran through the installation again wiping out the entire drive (and letting it do its own auto disk layout for the entire disk)
>> On reboot it still sits at the GRUB prompt
 
Old 12-06-2012, 09:35 AM   #2
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,693

Rep: Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734
Have you run the bootinfoscript to get details on your system? You can do this from the Fedora Live CD, site below:

http://sourceforge.net/projects/bootinfoscript/
 
Old 12-06-2012, 11:12 AM   #3
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
Why do you need 12 GB swap? Do you handle huge computations?

You are having a kernel mode setting issue.
Use a boot parameter to disable it.
 
Old 12-06-2012, 11:17 AM   #4
linuxguy7820
Member
 
Registered: Mar 2011
Distribution: CentOS, RHEL, Fedora
Posts: 35

Original Poster
Rep: Reputation: 0
I will give it a try; after some additonal research and trial and error (a lot of that) I found something that might explain it. This used to be a Windows 7 machine and I think at one point was using GPT on the drive, I found some posts about old GPT data being stored as a backup at the end of the drive and that not all utilites will get rid of it. I found these steps to try which are next:

start gdisk:
gdisk /dev/sda
Then x to get into the "extra functionality" menu
Then z to zap the GPT information.
 
Old 12-06-2012, 11:26 AM   #5
linuxguy7820
Member
 
Registered: Mar 2011
Distribution: CentOS, RHEL, Fedora
Posts: 35

Original Poster
Rep: Reputation: 0
I setup the 12Gb swap because I thought it was supposed to be the size of memory plus added space. I forget the formula I found but it was something like 1.2X the amount of memory install in the system. What would you recommend for what is basically a desktop OS running VM Workstation 7?
 
Old 12-06-2012, 11:36 AM   #6
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
Swap = 3GB should be more than enough as you have enough RAM.
(It is unlikely to be touched

Your main issue may be GPT related.
 
1 members found this post helpful.
Old 12-06-2012, 04:24 PM   #7
westzilla
LQ Newbie
 
Registered: Dec 2012
Location: New York, USA
Distribution: Fedora
Posts: 22
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by amani View Post
Swap = 3GB should be more than enough as you have enough RAM.
(It is unlikely to be touched

Your main issue may be GPT related.
if its a kernel update then try booting from the previous kernel you can also boot into advanced options and you will get a root prompt then you can try to shut some modules off
 
Old 12-07-2012, 08:58 AM   #8
linuxguy7820
Member
 
Registered: Mar 2011
Distribution: CentOS, RHEL, Fedora
Posts: 35

Original Poster
Rep: Reputation: 0
Ok after additional research, trail and error it turned out there were some remants of GPT on the drive. At somepoint I must have converted it to GPT and the tool I used to convert the disk back to basic didn't fully work. So I followed this advice:

gdisk /dev/sda
Then x to get into the "extra functionality" menu
Then z to zap the GPT information.

Then:
Installed Windows 7 (for SWTOR)
> A previous Fedora 17 install had left 50Gb at the end of the drive that I installed to

Installed Fedora 17
> /dev/sda1 (1GB boot) - ext3
> /dev/sda2 (root - LUKS) - ext3
> /dev/sda3 (3Gb swap)

Was able to perform yum update with no problems, all is well. Thanks to all for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora 12 `yum update -y` & ran out of space in my /var/yum/cache/directory. techknowtarded Linux - Newbie 7 08-13-2011 07:23 PM
Yum update, booting takes lot of time invincible_king Linux - General 1 09-27-2006 07:35 AM
reinstalling WinXP on a dual booting system (XP - FC4) snaggy Linux - Newbie 5 08-16-2006 03:54 AM
fedora 5 yum update fail and system crashed chlawren Linux - Software 0 07-26-2006 08:16 AM
Grub not booting after a yum update michaelsr Fedora 6 07-09-2006 12:05 PM


All times are GMT -5. The time now is 03:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration