|
Author | Topic: SalineOS 1.5 Stuff (Read 1,304 times) |
beardedragon Global Moderator
     member is offline
![[avatar] [avatar]](http://smile-media-production-1.s3.amazonaws.com/images/83a50d70550b01307b5322000afe0a5a/168x168.jpg)
Joined: Feb 2011 Gender: Male  Posts: 864
|  | Re: SalineOS 1.5 Stuff « Reply #15 on Oct 1, 2011, 11:11am » | |
[quote author=admin board=testing thread=377 post=4163 time=1317484167] Added note to grub-doctor stating that it is meant to be run from a live environment. (Should never be a reason to run this on an installed system)./quote] Hmn, when you dual boot with another distro added after SalineOS, the other distro takes precident. I've used Grub-Doctor to change which distro comes first in Grub.
|
Robert Collard, Madison, WI HP s5710f, 2x AMD Athlon II 260@3.2Ghz 3GB RAM, 640GB HD SalineOS 2.0 XFCE-4.8 3.2.0-4-amd64 Debian 7.0 XFCE-4.8 3.2.0-4-amd64
If you are satisfied with the results, please Edit your first post and add [Solved] to the Subject line. |
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,343
|  | Re: SalineOS 1.5 Stuff « Reply #16 on Oct 2, 2011, 2:18am » | |
In this case its much faster and easier to issue the command update-grub from the SalineOS terminal, you will get the exact same result in the end.
| |
|
ukbrian Senior Member
    member is offline
Joined: Aug 2011 Gender: Male  Posts: 288
|  | Re: SalineOS 1.5 Stuff « Reply #17 on Oct 2, 2011, 9:17am » | |
I just thought I would report this error in case it's of interest to devs.
I logged out and back in as root and ran the update and got this permission error
root@ssd-saline:~# wget http://www.salineos.com/salineos15upgrade.run && chmod +x ./salineos15upgrade.run && ./salineos15upgrade.run --2011-10-02 15:04:40-- http://www.salineos.com/salineos15upgrade.run Resolving www.salineos.com... 72.167.2.128 Connecting to www.salineos.com|72.167.2.128|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2897890 (2.8M) [text/plain] Saving to: `salineos15upgrade.run'
100%[=================================================================================================>] 2,897,890 423K/s in 7.4s
2011-10-02 15:04:54 (382 KB/s) - `salineos15upgrade.run' saved [2897890/2897890]
Verifying archive integrity... All good. Uncompressing SalineOS 1.5 Upgrade............... eval: 1: ./setup: Permission denied root@ssd-saline:~# It's not a problem for me as I'll be reinstalling soon
| |
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,343
|  | Re: SalineOS 1.5 Stuff « Reply #18 on Oct 3, 2011, 6:40am » | |
You have me a bit stumped on this one
I am very curious as to if anyone else has had this error occur?
The only thing I can think of that might cause this is if there is a file or folder in the directory you ran the line in named setup.
| |
|
ukbrian Senior Member
    member is offline
Joined: Aug 2011 Gender: Male  Posts: 288
|  | Re: SalineOS 1.5 Stuff « Reply #19 on Oct 3, 2011, 11:05am » | |
It only happens with this install of Saline which is on an SSD, if I look in / there are only three files there initrd.img, salineos15upgrade.run and vmlinuz and the permissions look OK for salineos15upgrade.run.
To recap I logged off and back in as root and then from the terminal ran http://www.salineos.com/salineos15upgrade.run && chmod +x ./salineos15upgrade.run && ./salineos15upgrade.run
If I run salineos15upgrade.run from the terminal as root the same permission thing happens.
This is not a problem for me as I will shortly do a remastersys from a fresh install on my other machine I just thought it might be of interest to you, I will leave this install in place in case you might want to track down the problem.
| |
|
beardedragon Global Moderator
     member is offline
![[avatar] [avatar]](http://smile-media-production-1.s3.amazonaws.com/images/83a50d70550b01307b5322000afe0a5a/168x168.jpg)
Joined: Feb 2011 Gender: Male  Posts: 864
|  | Re: SalineOS 1.5 Stuff « Reply #20 on Oct 4, 2011, 4:47pm » | |
Oct 2, 2011, 2:18am, Anthony Nordquist wrote:| In this case its much faster and easier to issue the command update-grub from the SalineOS terminal, you will get the exact same result in the end. |
|
Beg to differ, that did not work having SalineOS on sda1 and sda3, you cannot switch the order of which opens first using update-grub.
|
Robert Collard, Madison, WI HP s5710f, 2x AMD Athlon II 260@3.2Ghz 3GB RAM, 640GB HD SalineOS 2.0 XFCE-4.8 3.2.0-4-amd64 Debian 7.0 XFCE-4.8 3.2.0-4-amd64
If you are satisfied with the results, please Edit your first post and add [Solved] to the Subject line. |
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,343
|  | Re: SalineOS 1.5 Stuff « Reply #21 on Oct 4, 2011, 11:15pm » | |
update-grub will put whatever distribution it is ran from on the top of the list and therefor the default on the boot menu. I use this all the time, in fact if you run grub-doctor from the installed system this is all it is going to do (correctly). I mainly wrote grub-doctor in order to give people a way to repair the bootloader should it get corrupted/overwritten ect .....
The Remastersys-grub-restore was ok for the most part, but only being able to target the root partition or /dev/sda1 can be quite limiting.
| |
|
ukbrian Senior Member
    member is offline
Joined: Aug 2011 Gender: Male  Posts: 288
|  | Re: SalineOS 1.5 Stuff « Reply #22 on Oct 6, 2011, 11:01am » | |
Re my update permissions problem I did run the updater as my user using sudo first so that might have been the cause of my permissions problem.
I did spend some time trying to disable my auto-logon before the penny dropped and I logged off and then logged in as root. 
I just installed a snapshot from my other machine over that install and took the opportunity to try your grub-doctor before I did the install and it worked flawlessly A lot simpler and less confusing than Rescatux which I previously used, rescatux uses several screens asking you to put the drives in boot order which I think is unnecessary. I prefer your method of selecting the OS partition and then selecting the drive for the MBR to write to, simple and very effective.
What I didn't like about installing fragelics Gnome OS and AVlinux was the way they over wrote the sda MBR with no choice or warning. You have done a wonderful job of tweaking the remastersys script, so much more functional. Bravo!
Edit: I found the final dialogue screen a little confusing.Code:| Grub installation complete, will now exit. |
|
I don't think the "will now exit" is necessary.
| |
|
malspa Full Member
   member is offline
![[avatar] [avatar]](http://i55.tinypic.com/2ak0dvd.jpg)
Joined: Jan 2011 Posts: 171 Location: albuquerque
|  | Re: SalineOS 1.5 Stuff « Reply #23 on Oct 7, 2011, 7:30am » | |
I ran the update command as shown in reply #4. Then I ran AutoUpdate. I get the following:
Code:The following partially installed packages will be configured: salineos-utils{b} No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. The following packages have unmet dependencies: salineos-utils: Depends: locales-all but it is not going to be installed. Depends: util-linux-locales but it is not going to be installed. Depends: gcc-4.4-locales but it is not going to be installed. Depends: console-data but it is not going to be installed. Depends: parted but it is not going to be installed. The following actions will resolve these dependencies:
Remove the following packages: 1) salineos-utils
Accept this solution? [Y/n/q/?] |
|
Should I accept?
Also, when I ran the update command from reply #4, I did not log into the system as root, but I ran su, entered the root password, and then ran the command. Was this a mistake?
| |
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,343
|  | Re: SalineOS 1.5 Stuff « Reply #24 on Oct 7, 2011, 11:12am » | |
Using su is fine yes. Something is wrong with that output, but I think I may have a solution. I will upload an updated archive here in a minute that should sort it out.
You aren't using the Debian testing repository are you?
| |
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,343
|  | Re: SalineOS 1.5 Stuff « Reply #25 on Oct 7, 2011, 11:19am » | |
Archive has been updated. Please make sure you delete the old one that is left behind from the last attempt or run the line from a different directory.
| |
|
malspa Full Member
   member is offline
![[avatar] [avatar]](http://i55.tinypic.com/2ak0dvd.jpg)
Joined: Jan 2011 Posts: 171 Location: albuquerque
|  | Re: SalineOS 1.5 Stuff « Reply #26 on Oct 7, 2011, 12:18pm » | |
No, I'm only using Squeeze sources.
Oct 7, 2011, 11:19am, Anthony Nordquist wrote:| Archive has been updated. Please make sure you delete the old one that is left behind from the last attempt or run the line from a different directory. |
|
Sorry, I'm confused by this. What is "the old one" that I need to delete? And after I delete it, do I need to run the command again from reply #4 of this thread, or simply run AutoUpdate?
| |
|
Richard Elder Member
     member is offline
![[avatar] [avatar]](http://dl.dropbox.com/u/10332409/bender.gif)
Joined: Jan 2011 Gender: Male  Posts: 607 Location: Venezuela
|  | Re: SalineOS 1.5 Stuff « Reply #27 on Oct 7, 2011, 7:02pm » | |
Erase the old file, salineos15upgrade.run then rerun the script, wget http://www.salineos.com/salineos15upgrade.run && chmod +x ./salineos15upgrade.run && ./salineos15upgrade.run
|
SalineOS-2.0dev2..Xfce4.8 SolydX.................Xfce4.10 Crunchbang-11.....Xfce4.8 |
|
malspa Full Member
   member is offline
![[avatar] [avatar]](http://i55.tinypic.com/2ak0dvd.jpg)
Joined: Jan 2011 Posts: 171 Location: albuquerque
|  | Re: SalineOS 1.5 Stuff « Reply #28 on Oct 7, 2011, 11:36pm » | |
Thank you.
I deleted ~/salineos15upgrade.run, then ran wget http://www.salineos.com/salineos15upgrade.run && chmod +x ./salineos15upgrade.run && ./salineos15upgrade.run.
During that, a "Configuring console-data" screen came up. I chose the policy "Don't touch keymap" and hit Enter. The update completed, so I ran AutoUpdate. No problems. Rebooted the system just to make sure. Things look fine.
| |
|
Richard Elder Member
     member is offline
![[avatar] [avatar]](http://dl.dropbox.com/u/10332409/bender.gif)
Joined: Jan 2011 Gender: Male  Posts: 607 Location: Venezuela
|  | Re: SalineOS 1.5 Stuff « Reply #29 on Oct 8, 2011, 7:31am » | |
For various and sundry reasons, I reinstalled Sos1.4. Actually, been wanting to reorganize the disk for a while. Reformatted with /sos, /data, swap and /tryout. Only 4 primaries. Still have a partition to try new distros, upgrades, etc. And VirtualBox or Qemu for quick looks. Keeping the stock kernel for a while. Seems fine at the moment. dist-upgrade'd a couple of times then ran the Saline1.5-upgrade. A-OK.
|
SalineOS-2.0dev2..Xfce4.8 SolydX.................Xfce4.10 Crunchbang-11.....Xfce4.8 |
|
|