LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-11-2010, 02:46 AM   #1
blaszta
LQ Newbie
 
Registered: Oct 2010
Posts: 7

Rep: Reputation: 0
Question Can't boot after resizing partition with gparted


First of all, the boot device is an 16GB SD card. I install Citrix XenServer on it but I make the partition too small (XenServer makes a lot of logs file). I resize the partition but now it give "Illegal OpCode" and red screen everytime it boot.

I already create the image of the whole SD card using dd and already try these process three times = restore the image, test that it can boot properly, then resize the partition using gparted, then it can't boot.

I already post this question in XenServer forum (with screenshot) but nobody answer there.

The hardware itself is HP Proliant ML350 G6 with internal SD slot.

Any help will be appreciated.

Last edited by blaszta; 11-11-2010 at 02:47 AM. Reason: fix typo
 
Old 11-11-2010, 05:02 PM   #2
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Rep: Reputation: 23
I would try creating the partition first, at the size you want, then copy the XenServer image onto the card. Not sure if it's possible, but you may be able to copy the image as a file, then create a boot entry on the card that loads the XenServer image.
 
Old 11-11-2010, 08:55 PM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I have found gparted sufficiently unreliable that I do not use it any more. I may have been unlucky because when I have written that on LQ there haven't been any "me too" replies. You may be unlucky too!

+1 to what slinx wrote but try using fdisk or cfdisk to make the new partition.
 
Old 11-12-2010, 02:11 AM   #4
blaszta
LQ Newbie
 
Registered: Oct 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks slinx and catkin for the reply. I'm not at the office until next week to try cfdisk trick. Will post the result after I try it.
 
Old 11-17-2010, 09:58 PM   #5
blaszta
LQ Newbie
 
Registered: Oct 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Tried to fix it with cfdisk with no success.
I end up installing the XenServer from scratch and successfully re-introduce the storage and all VMs (struggle a little bit with xe command).

@catkin: currently I think gparted is unreliable too. Do you have any other alternative?
 
Old 11-18-2010, 02:12 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by blaszta View Post
@catkin: currently I think gparted is unreliable too. Do you have any other alternative?
Not one with all the features of gparted. I use cfdisk for changing the partition table and other command line utilities for adjusting file systems.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
correct partition size not reported after resizing with gparted rogerdv Linux - General 5 01-11-2010 10:35 AM
GParted resizing has corrupted a partition troy.mcclure Linux - General 1 11-16-2009 06:02 PM
rEFIt problem, cannot boot linux after using gparted to shrink non-OS partition jeberd Linux - Software 6 01-29-2009 01:51 AM
error resizing NTFS partition with gParted live CD Nived87 Linux - Newbie 5 05-29-2006 01:53 AM
Linux does not boot after partition resizing stairynight Linux - Software 17 08-19-2004 12:08 PM


All times are GMT -5. The time now is 09:45 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