Author Topic: My, My, My! ... MiniMe  (Read 4250 times)

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11598
  • ----IOFLU----
Re: My, My, My! ... MiniMe
« Reply #15 on: May 10, 2012, 11:22:09 PM »
YouCanToo
The suspense is unbearable any longer, what happened here?  :D

Old-Polack
I have been looking at this topic a number of times, since I have recently cleaned out 26 test installs I have a few spare partitions and want to look closer at trying to repeat your exercise.

Since it is a long time since I tried to make an rsync -av copy bootable.  I know I did make an rsync -av copy bootable and it seemed to work, well it ran.  I did not check closer and then many weeks later I thought I found a system that seemed to boot not from the partition I was expecting but from another one. (All history now, the system gone)

Quote
Next I ran mkinitrd from a chroot environment on the copied installation, to rebuild the initrd image of the default kernel, so it would use the proper new / partition and filesystem format when booting from its new home.

 
What happens if the quoted stage is left out?  Would the new stanza you added to the menu list still boot, seemingly ok?

I think I am under the misapprehension that an OS rsync copy can be run just by changing fstab in the copy and then make a stanza in the menu.lst?   :-[

Back when, that was all that was needed, but at some point mkinitrd was rewritten, and made more complicated. The initrd image used to just be a few modules that were loaded along with the kernel, and a script to locate boot parameters from files located on the designated / partition. Now it's an entire mini operating system environment. The older image searched the / partition for information at boot time. With the new images, mkinitrd does the searching at image creation time, and has all the information already stored within the image to accelerate the boot time. If the initrd image is not rebuilt, it will contain all the wrong location information from the original installation, and not contain the information it needs for the new/copied location.

If you don't do the mkinitrd step, you will likely boot the old installation's / partition.
Old-Polack

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



Lest we forget...

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: My, My, My! ... MiniMe
« Reply #16 on: May 11, 2012, 12:42:44 AM »

I had read about this procedure that you could use to do the pclinuxos aptupgrade script so that rpm would be updated.  I have used this procedure twice now and it has worked both times.


nixer,

I can say the same. Unfortunately, "Fox Mulder" 's site isn't responding right now. It shows a The requested URL could not be retrieved error message. Fortunately, I saved the binary files and instructions, just in case.
« Last Edit: May 11, 2012, 12:45:21 AM by djohnston »
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10701
  • MLUs Forever!
Re: My, My, My! ... MiniMe
« Reply #17 on: May 11, 2012, 03:48:56 AM »
http://www.xfilescabinet.com/

is accessible from here presently
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline nixer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 589
Re: My, My, My! ... MiniMe
« Reply #18 on: May 11, 2012, 04:56:02 AM »
Yea, it must have been a temporary issue with the web server.  It is up and running now.  The site location is:
http://www.xfilescabinet.com/blogs/fox-mulder/2012/mar/09/still-have-pclinuxos-install-needs-run-aptupgrade.html for the aptupgrade script.  I too have it saved, as I have used it on several more "friends" computers since the post mentioned above. 
Desktop:  AMD 3.6ghz X4, Gigabyte MB, 8GB ram, Multiple PCLOS's, 2.6.38.8-pclos3.pae.bfs
Server: Intel 3.4ghz X2, 4GB RAM, SATA, gnome2, *.pae.bfs, Headless, Servers: LAMP, FTP, Samba, Print, PXE, BT
HTPC: Phenom II X4 2.8ghz, 4GB Ram, 1TB SATA, PCLinuxOS-KDE, NVIDIA N220GT HDMI, *.pae.bfs

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: My, My, My! ... MiniMe
« Reply #19 on: May 11, 2012, 05:32:19 PM »
Yep, it's back up. Must have been doing maintenance.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2448
  • Any Bugs in site?
Re: My, My, My! ... MiniMe
« Reply #20 on: May 11, 2012, 08:43:51 PM »
Old-Polack
Thanks for explanation, I feel a lot better. Now I am pretty sure my very first exercise worked the old way. The time I tried again would then have required the running of mkinitrd.  This step I have to test first. :)
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Scotchman

  • Full Member
  • ***
  • Posts: 56
Re: My, My, My! ... MiniMe
« Reply #21 on: September 27, 2012, 04:51:09 PM »
@nixer,

Thanks for the link to Fox Mulder's blog. That zip file will be just the ticket for a small project I had on hold.

http://www.xfilescabinet.com/blogs/fox-mulder/2012/mar/09/still-have-pclinuxos-install-needs-run-aptupgrade.html



I tried that "fix" and it confirms that it ran and apt-update installed. But I still can not update anything as librpm is still version 4.4.6 and needs to be 4.8 to update anything. I can not even update librpm 4.4 without 4.8 installed.

HELP?
#unaBaSHedly Bourne Again!
========================
ASUS EeePc 900HA netbook
1.6 Ghz Atom CPU  2GB RAM
120GB Samsung 840pro SSD

Online JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2144
Re: My, My, My! ... MiniMe
« Reply #22 on: September 28, 2012, 04:43:17 AM »
The rpm packages you need are in unstable section of the repository!
You have to add "unstable" in sections line (without the quotes) in Synaptic.

http://pclinuxoshelp.com/index.php/Synaptic_Software_Manager  (see picture 2)
http://pclinuxoshelp.com/index.php/File:Change-repository.png

When ready you have to remove "unstable" from the sections line again.

JohnW
« Last Edit: September 28, 2012, 04:47:17 AM by JohnW_57 »
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.