Modified installation binary with timezones
| Author |
Message |
|
wireman
MEPIS is cool!
Joined: Thu Aug 17, 2006 7:56 am Posts: 874 Location: Scotland Has thanked: 87 times Have thanks: 45 times
|
Post # 254748
 Modified installation binary with timezones
Warren's feedback got me thinking about having a go at coding with Qt. One thing that bothers me (and others, I gather) during the install is the inability to set the timezone during the installation So, I got the minstall source code and had a go. Attached is my first attempt. It's worked in a test Vbox installation and anyone is welcome to try it. The change is at Step 7c. The file is a simple replacement for the real 'minstall' binary found in /usr/sbin/. The way I got it working in a liveDVD session is by putting it on a USB stick and running it from there as root. Please let me know your thoughts and comments. I'll forward the changes to Warren when I've got confirmation from at least one other person that it works  Edit: Please note this is 32bit binary. Judging from m_pav's experience it won't work with 64bit systems.
You do not have the required permissions to view the files attached to this post.
_________________ Acer Aspire X1301 desktop: AMD Athlon II X2 215, nForce 8600 chipset with integrated graphics, 4Gb RAM, 1Tb HDD
Monitor: Samsung SyncMaster 2243BW (1680x1050)
Printer: HP Photosmart C5180 all-in-one
|
| Mon Dec 20, 2010 4:35 pm |
|
 |
|
Jerry3904
MEPIS Enthusiast
Joined: Wed Jul 19, 2006 6:13 am Posts: 6458 Location: Geneva NY Has thanked: 1389 times Have thanks: 1037 times
|
Post # 254750
Great to see some Community development work be done this cycle! I will test this in a bit and get back to you.
EDIT: that seems to work fine. I fired up the M11 A4 LiveDVD, used a USB stick to move it into Downloads, then ran it from there with ./minstall. Installed to a partition with Europe/Paris time, then checked the file /etc/timezone and the correct one had been written. Did not check further than that.
Questions: 1) the Help page facing your changes says that EST is the default--is it still? Warren would probably want that default. 2) are there any changes to that Help page that your revision requires?
_________________ A Wiki only works when many eyes are on it.
32bit, 2.6.36-1-mepis-pae, KDE 4.6.5, AMD Phenom 9650 Quad-Core, Dell SP2309W with integrated webcam, Nvidia GeForce 6150SE, 4 GB DDR2
|
| Mon Dec 20, 2010 4:58 pm |
|
 |
|
anticapitalista
MEPIS Guide
Joined: Sat Jul 15, 2006 10:40 am Posts: 1742 Location: Greece Has thanked: 100 times Have thanks: 337 times
|
Post # 254754
Tested on antiX live system and set timezone to Europe/Athens and it works just fine.
_________________ anticapitalista Reg. linux user #395339.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX "Edelweißpiraten" - lean and mean. http://antix.mepis.org
|
| Mon Dec 20, 2010 6:02 pm |
|
 |
|
wireman
MEPIS is cool!
Joined: Thu Aug 17, 2006 7:56 am Posts: 874 Location: Scotland Has thanked: 87 times Have thanks: 45 times
|
Post # 254756
Thanks Jerry and Anti for testing it
I've not changed any of the help text yet. That's an easy fix compared to the code itself. No, the default is 'Europe/London'  ...but that's also easily changed.
_________________ Acer Aspire X1301 desktop: AMD Athlon II X2 215, nForce 8600 chipset with integrated graphics, 4Gb RAM, 1Tb HDD
Monitor: Samsung SyncMaster 2243BW (1680x1050)
Printer: HP Photosmart C5180 all-in-one
|
| Mon Dec 20, 2010 6:15 pm |
|
 |
|
m_pav
MEPIS Guide
Joined: Sun Aug 06, 2006 3:02 pm Posts: 1869 Location: New Zealand BOP Has thanked: 20 times Have thanks: 276 times
|
Post # 254778
I'll give it a whirl on my EEE tonight using NZ timezone.
Mike P
_________________ Mike P
Regd Linux User #472293 (1)Lenovo e520, i7-2640M, 8GB, 500GB Seagate Hybrid, M11-RoadblockB-64 (2) Asus M4A88TD-M, AMD Phenom II x4 955 CPU, Radeon HD 4250, 4Gb, 1.5TB, M11-64
|
| Tue Dec 21, 2010 12:45 am |
|
 |
|
m_pav
MEPIS Guide
Joined: Sun Aug 06, 2006 3:02 pm Posts: 1869 Location: New Zealand BOP Has thanked: 20 times Have thanks: 276 times
|
Post # 254782
Booted my netbook from a flash drive with M11 A4 64-bit, I copied the file to the flash drive from my regular notebook, then to /home/demo/Downloads, extracted it, checked that it was executable, opened konsole, su to root, cd to Downloads and the remainder is below. Because it failed, I exited root back to demo, typed xhost +, su'd back to root and tried again, still no joy, connected to my wireless, re-downloaded and tried again, still no joy. My impression is that the executable will not work from a live-usb, it must be looking for a file in a different location Mike P
_________________ Mike P
Regd Linux User #472293 (1)Lenovo e520, i7-2640M, 8GB, 500GB Seagate Hybrid, M11-RoadblockB-64 (2) Asus M4A88TD-M, AMD Phenom II x4 955 CPU, Radeon HD 4250, 4Gb, 1.5TB, M11-64
|
| Tue Dec 21, 2010 2:38 am |
|
 |
|
wireman
MEPIS is cool!
Joined: Thu Aug 17, 2006 7:56 am Posts: 874 Location: Scotland Has thanked: 87 times Have thanks: 45 times
|
Post # 254783
Ah, I should have said this is a 32bit binary. I guess your problems are due your using 64bit. I'll try and get a 64bit binary for you.
_________________ Acer Aspire X1301 desktop: AMD Athlon II X2 215, nForce 8600 chipset with integrated graphics, 4Gb RAM, 1Tb HDD
Monitor: Samsung SyncMaster 2243BW (1680x1050)
Printer: HP Photosmart C5180 all-in-one
|
| Tue Dec 21, 2010 3:58 am |
|
 |
|
m_pav
MEPIS Guide
Joined: Sun Aug 06, 2006 3:02 pm Posts: 1869 Location: New Zealand BOP Has thanked: 20 times Have thanks: 276 times
|
Post # 254784
I did wonder about that, but as it was not specifically stated, I wondered if the installer would be OK for either platform.
Will eagerly await the package
Mike P
_________________ Mike P
Regd Linux User #472293 (1)Lenovo e520, i7-2640M, 8GB, 500GB Seagate Hybrid, M11-RoadblockB-64 (2) Asus M4A88TD-M, AMD Phenom II x4 955 CPU, Radeon HD 4250, 4Gb, 1.5TB, M11-64
|
| Tue Dec 21, 2010 4:34 am |
|
 |
|
Adrian
MEPIS Enthusiast
Joined: Wed Jul 12, 2006 1:42 am Posts: 3544 Has thanked: 181 times Have thanks: 297 times
|
Post # 254800
I don't think it's 64 bit problem, if you try to run a 32 bit binary it tells you that it cannot find the 32 bit libraries for it (if you don't have them installed on your system) not that the file is not there, it's something else going on I think.
|
| Tue Dec 21, 2010 11:08 am |
|
 |
|
kmathern
MEPIS Enthusiast
Joined: Wed Jul 12, 2006 2:26 pm Posts: 5172 Has thanked: 274 times Have thanks: 1416 times
|
Post # 254807
Try starting it as a regular user, using kdesu. For instance I have it extracted to my /tmp directory and from either the command line in konsole or the <Alt>+<F2> Run Command will start it up. {Other than start it up, I haven't run the new minstall because I was running it from an existing install instead of a LiveDVD session.} edit: I am using 32bit
|
| Tue Dec 21, 2010 11:31 am |
|
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|