Author Topic: No boot after change swap partition  (Read 999 times)

Offline Xenaflux

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3834
No boot after change swap partition
« on: January 11, 2012, 05:36:32 PM »
First: This is on my << mess around and be happy " computer.-64 bit
No pressure.
What I had:
sda1: 5 gb swap
sda5: pclos-kde4 32bit full updated - partition about 10Gb
sda6: pclos-kde4 64bit full updated - partition about 10 Gb
sda7: Pardus KDE3.5 - partition about 10 Gb
sda8  9  10 11 are empty partitions around 10 Gb

What I did:
I formatted sda5 to fat32 and installed windowsXP...no problems.
I did what I had to do, then....
I decided on a whimp to keep it, just in case..............
I took sda9 and formatted it as swap. As far as I knew, linux would find it automatically.
I used Pclos live ( install ) CD to redo the MBR to sda5 , as it was before

Then I rebooted. PCLOS got stuck.....I pressed escape....I got a message: << cannot open file delete >>
I rebooted into safe mode...same thing

Then I rebooted into the pclos 64 bit thing........same message:<< cannot open file delete >>

Then I rebooted into Pardus KDE3.5, and that booted up normally and was functional.

I repeated all of above again to make sure.

1-- what is the meaning of << cannot open file delete >> ?
2-- what can I possible do to fix this, (( I just want to know. ))
3-- I have no problem with reinstalling, but, where is the fun ?

Any one ?   ?

Thanks
Xena
The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: No boot after change swap partition
« Reply #1 on: January 11, 2012, 06:19:31 PM »
Did you add your new swap partition to /etc/fstab?     

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11581
  • ----IOFLU----
Re: No boot after change swap partition
« Reply #2 on: January 11, 2012, 06:34:34 PM »
First: This is on my << mess around and be happy " computer.-64 bit
No pressure.
What I had:
sda1: 5 gb swap
sda5: pclos-kde4 32bit full updated - partition about 10Gb
sda6: pclos-kde4 64bit full updated - partition about 10 Gb
sda7: Pardus KDE3.5 - partition about 10 Gb
sda8  9  10 11 are empty partitions around 10 Gb

What I did:
I formatted sda5 to fat32 and installed windowsXP...no problems.
I did what I had to do, then....
I decided on a whimp to keep it, just in case..............
I took sda9 and formatted it as swap. As far as I knew, linux would find it automatically.
I used Pclos live ( install ) CD to redo the MBR to sda5 , as it was before

Then I rebooted. PCLOS got stuck.....I pressed escape....I got a message: << cannot open file delete >>
I rebooted into safe mode...same thing

Then I rebooted into the pclos 64 bit thing........same message:<< cannot open file delete >>

Then I rebooted into Pardus KDE3.5, and that booted up normally and was functional.

I repeated all of above again to make sure.

1-- what is the meaning of << cannot open file delete >> ?
2-- what can I possible do to fix this, (( I just want to know. ))
3-- I have no problem with reinstalling, but, where is the fun ?

Any one ?   ?

Thanks
Xena



First, using a liveCD, mount your PCLinuxOS installation's / partition, then edit your /boot/grub/menu.lst so the resume= of each stanza uses the UUID of the new swap partition. Next, edit your installed /etc/fstab to again show the UUID of the new swap partition. Then, from a chroot environment, create a new initrd image for the kernel you currently use. Last, reboot into PCLinuxOS.

What, pray tell, (you may ask) doe's all that mean, and how do I do that? Chroot environment...???  what's that?

I thought you'd never ask. Instructions are here.

http://www.pclinuxos.com/forum/index.php/topic,96077.msg818283.html#msg818283

If you get stuck, at any stage, ask for clarification.  ;)
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Xenaflux

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3834
Re: No boot after change swap partition
« Reply #3 on: January 11, 2012, 06:59:24 PM »
@ Neil and OP

Thanks for the quick reply.
I will have a look at it tonight or tomorrow morning, when time permits.

I am of course sure it will work ....as always.
I will let you know

Thanks again

Xena
The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: No boot after change swap partition
« Reply #4 on: January 12, 2012, 02:45:46 AM »
Xena,     
 ::) ::) ::) Neal, not Neil.     

taelti

  • Guest
Re: No boot after change swap partition
« Reply #5 on: January 12, 2012, 03:12:52 AM »
Xena,    
 ::) ::) ::) Neal, not Neil.    

 ;D
Um, Neal,  

Um, perhaps its time to change it to what the membership is, um, comfortable with?  ;D

Anyway, to keep within the topic, I had missed the thread about the chroot environment. Now will be a good time to read about it.  ;)
« Last Edit: January 12, 2012, 03:15:09 AM by Taelti »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: No boot after change swap partition
« Reply #6 on: January 12, 2012, 03:34:54 AM »
Xena,    
 ::) ::) ::) Neal, not Neil.    

 ;D
Um, Neal,  

Um, perhaps its time to change it to what the membership is, um, comfortable with?  ;D
     
 >:( >:( >:( >:( >:( Hell no! My name is my name.     

Online Vorteggs

  • Hero Member
  • *****
  • Posts: 2410
Re: No boot after change swap partition
« Reply #7 on: January 12, 2012, 03:49:28 AM »
I got a message: << cannot open file delete >>
Are you with LXDE?

This message appears for a short time in my LXDE installs both in 32 and 64-bit.
Not long ago I removed a failing hard disk. After that the KDE install was waiting 1 minute for a partition from that disk to appear.
The same thing went in LXDE but without the message "waiting for dev/sdxn to appear". After minute waiting with the message "cannot open file delete" on the screen booting successfully proceeded on.

Offline Xenaflux

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3834
Re: No boot after change swap partition
« Reply #8 on: January 12, 2012, 05:26:46 AM »
Quote
Neal, not Neil.

Apologies !
I hope you can find it in your heart to forgive me.

Quote
Hell no! My name is my name.

Darn right. I hate it too when they pronounce my name wrong, which is about 4 times a day, 5 days a week, for the last 15 years.
Next time I get born, I will be more careful in choosing my name.

Quote
Are you with LXDE?  >>>>>>NO, KDE4

This message appears for a short time in my LXDE installs both in 32 and 64-bit.

Yes, it appears there immediately and then stays there. Nothing follows...not a word.
However, the scroll bar caries on right to the end.
Was tired of waiting after 30 minutes.



@ Neal ( see, I got it right ) and OP : didn't get to it yet.
The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )

Offline Xenaflux

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3834
Re: No boot after change swap partition
« Reply #9 on: January 16, 2012, 04:18:31 AM »
Quote
@ Neil and OP

Thanks for the quick reply.
I will have a look at it tonight or tomorrow morning, when time permits.

I am of course sure it will work ....as always.
I will let you know

Thanks again

Xena

Guys, I went trough the whole procedure.
Somewhere along the line I probably screwed up.
It was late at night.
My common sense told me to wait till morning.
My impatience told me to do it now.
It hung completely

So, I just reinstalled.
Thanks anyway. I keep the info in my Howto folder

Xx
The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )