Upgrading Frugal from 1.4 to 1.5


Forum: HD Install
Topic: Upgrading Frugal from 1.4 to 1.5
started by: Aussie

Posted by Aussie on Sep. 24 2005,15:15
Hi,

How do you do an upgrade with a frugal install?

Since I had very little personalized settings in 1.4, I decided to upgrade to 1.5 to see how it worked. I use the LILO install.

I loaded the 1.5 disc and did a normal boot. I then selected frugal instal (LILO) from the tools menu and went through the install, selecting yes to reformat hda1.

I got the new theme and the single click and right click icon changes, but that was it.

There were no new options such as the new calendar feature. Everything else was the same, even Firefox had it's same bookmarks.

After several attempts, I had lost half my desktop icons and others were sitting on top of each other.

I had to re-install 1.4 and restore from hda5 to get back to my original setup.

How are you supposed to do an upgrade? Obviously not the way I did :(

Aussie

Posted by mikshaw on Sep. 24 2005,15:22
I've never used the install scripts, but it looks like you have an option to upgrade rather than install.  An upgrade shouldn't require a format or LILO install, since that was already done.

The easiest way I can think of to upgrade frugal is to simply mount the ISO and copy the new KNOPPIX file over the old one.

All of your personal settings from 1.4 would carry over to 1.5, which means that if you have /home/dsl/.fluxbox/menu in your backup file or persistent home you won't see any new menu items when you upgrade.  This doesn't mean that they don't exist.....you just can't see them in the menu.  The new menu file is located at /etc/skel/.fluxbox/menu

Posted by Aussie on Sep. 24 2005,16:04
Quote (mikshaw @ Sep. 24 2005,23:22)
The easiest way I can think of to upgrade frugal is to simply mount the ISO and copy the new KNOPPIX file over the old one.

I did do the upgrade first, before trying the format option - but it had the same effect.

How do you mount an ISO?

Since it's midnight here, I won't be able to talk to you until this time again tomorrow, so I only get a small window of opportunity to talk in "real" time.

Where should I download the ISO to - /opt?

How do you "see" and "extract" the contents of an ISO in Linux?

Thanks,
Aussie

Posted by mikshaw on Sep. 24 2005,18:14
It doesn't matter where you download the file, as long as you have space for it. It's best to save to a mounted drive if you don't have 50mb to spare in ramdisk. It might also be best to do this from a liveCD or other distro rather than from within your frugal setup....although i'm not sure if it makes a difference.
Code Sample
sudo mount -o loop /path/to/dsl-1.5.iso /mnt/test

After doing this you should have /mnt/test/KNOPPIX/KNOPPIX
Copy this file over your current KNOPPIX file and you should be set.

Regardless of how you upgrade, just remember that you are using configs from a previous version...anything new that is added to the menu won't show up if you are still using the 1.4 menu, anything that you may have changed in other personal configs will also prevent the new ones from displaying.  Robert made a thread a little while ago that listed what personal files have changes in 1.5.  The fluxbox menu and .xinitrc are two that i know of.  It might be a good idea to first start DSL 1.5 without restoring your backup or myDSL (boot options "norestore" and "base") and compare the files in /home/dsl with those in your backup.  This is a good idea with any upgrade, since even a minor change to a file could mean a major change to the way your system behaves.

Posted by adssse on Sep. 25 2005,00:12
This was taken from a post by roberts from a different section of the forums.

"The best way to experience all the new features is to boot with the norestore option.

The are some files that need to be updated that may be in your backup which will overwrite these new files in /home/dsl/

1. .fluxbox/menu -- new items and adjustment
2. .xtdeskrc  -- is no longer used
3. .xtdesktop/ -- new features
4. .dillo/dillorc  -- needed for matching system font
5. .xmms/Skins/xmmsSkin.tar.bz2 -- the new theme
6. .xfiletool.lst  -- new entry
7 .xinitrc  -- added the dock apps here

As root, you can simply copy over the new files/directories from /etc/skel"

I used the script like you did and followed roberts directions and everything went pretty smoothly.

Posted by Aussie on Sep. 25 2005,06:27
Quote (adssse @ Sep. 25 2005,08:12)
As root, you can simply copy over the new files/directories from /etc/skel"

Thanks Adssse,

I didn't know about the "skeleton" directory. Lots of things hiding in there  :)

Managed to get it right eventually with a lot of moving, editing and permission changes. You need a lot of DOS experience to understand what you're doing - not for the faint hearted!

Frugal still looks like a good way to go, but not for the average "Joe". But then again, I guess they would not be playing around with Linux in the first place.

At least I have successfully upgraded to the latest version - while still keeping my existing setup - which is what I'm looking for in a distro  :cool:

Thanks guys,
Aussie

Posted by mikshaw on Sep. 25 2005,16:36
It's not DOS, it's GNU =o)

The files in /etc are all owned by root.  After copying the files from skel to /home/dsl/, the command "chown -R dsl.staff /home/dsl/" as root will fix it.  This will recursively set ownership to dsl.  Permissions will remain the same, but will be transferred to user dsl. For example, a file owned by root with the permissions 644 will not allow dsl to edit, but when ownership is transferred to dsl he now has write permission.

Posted by stoneguy on Sep. 25 2005,20:07
My 1.4->1.5 upgrade was a one-liner. My frugal boot partition is hda5, so all I did was burn the 1.5 ISO, boot from it, mount hda5, and
Code Sample
sudo cp /mnt/auto/cdrom/KNOPPIX/KNOPPIX /mnt/hda5/KNOPPIX/KNOPPIX

Then shutdown, remove the CD, and reboot.

I don't know if it can always be that simple, but it was this time  :D

Posted by Aussie on Sep. 26 2005,04:40
Hi Stoneguy,

Everything is difficult for me  :)

I'm at the bottom of a huge learning curve, but everyday I learn more.

I'm the sort of person that learns by "doing". Reading things only confuses me.

I'm sure my setup will be re-installed many times as I break it  :)

It took me 20 years to learn to "control" DOS and Windows, hopefully understanding the structure and commands of Linux will be a little quicker!

But I'll keep your quote in mind for next time.

Aussie

Posted by doobit on Sep. 26 2005,19:28
I found on some machines that you couldn't do a live CD frugal install from the boot install menu. You need to load up the live CD first, then right click on the desktop, pick system->tools and then Frugal install. Then it seemed to work just fine. After that you have choices in the Lilo or Grub configuration scripts to make persistant /opt and /home on separate partitions.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.