Upgrade Sabayon without booting off liveDVD

Installer Issues via Installer -- Not for global upgrades or upgrading individual packages -- ONLY ISSUES WITH INSTALLATION OF THE OS -- Can't get Sabayon installed, than post here, otherwise use correct forums

Moderator: Moderators

Upgrade Sabayon without booting off liveDVD

Postby nebster » Thu Dec 27, 2007 11:19

My original question is marked below.

Basic How-to copy to harddrive and install it
1- Make a new Primary partition that is over the size of the iso. Format it as ext2
Notes: Logical partitions do not work. This is because of grub sending the wrong data to the second boot loader

2- Mount the partition as /mnt/isoroot
Code: Select all
mkdir /mnt/isoroot
mount /dev/partition /mnt/isoroot


3- Mount the iso with:
Code: Select all
mkdir /mnt/iso
mount -o loop -t iso9660 /path/to/iso /mnt/iso


4- Now copy all the files over:
Code: Select all
cp -r /mnt/iso/* /mnt/isoroot/


5- Next, you need to copy all the isolinux/ files out, so:
Code: Select all
cp -r /mnt/isoroot/isolinux/* /mnt/isoroot/



6- We'll be using extlinux so:
Code: Select all
mv /mnt/isoroot/isolinux.cfg /mnt/isoroot/extlinux.conf


7- We need to delete all the isolinux files apart from the boot text, so:
Code: Select all
mv /mnt/isoroot/isolinux.txt /mnt/isoroot/isolin.txt
rm -rf /mnt/isoroot/isolinux*
mv /mnt/isoroot/isolin.txt /mnt/isoroot/isolinux.txt


8- Next, you need to emerge syslinux and install the boot loader to the partition:
Code: Select all
emerge syslinux
extlinux --install /mnt/isoroot


9- Finally, add it to grub.conf. Open it up and add:
Code: Select all
TITLE Sabayon Installer
  rootnoverify (Drive,Partition)
  chainloader +1


-----------------------ORIGINAL QUESTION-----------------------

Hi, I want to install the latest version of sabayon without having to burn it to a DVD.
Would it be possible?
I'm currently using Sabayon miniEdition and I want to upgrade to the full version (beta if possible)
Last edited by nebster on Fri Dec 28, 2007 0:23, edited 2 times in total.
nebster
Young Hen
 
Posts: 20
Joined: Thu Dec 27, 2007 11:14

Re: Upgrade Sabayon without booting off liveDVD

Postby wolfden » Thu Dec 27, 2007 11:47

You shouldn't upgrade to beta on your production machine. Beta is for testing and there will be several version of beta rolling out.

Anyway, what you are looking to do is possible, mount the iso image. There isn't much documentation on doing this, but if you search you can find your answer as people have done it.
wolfden
Sharecropper
 
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Upgrade Sabayon without booting off liveDVD

Postby nebster » Thu Dec 27, 2007 14:16

Yes, do you mean mount it with:
Code: Select all
sudo mount -t iso9660 -o loop /path/to/Sabayon.iso


Then what? Is there an install I can run or do I have to copy off the files?
Also, Do I mount the inner fs file as well?

Thanks
nebster
Young Hen
 
Posts: 20
Joined: Thu Dec 27, 2007 11:14

Re: Upgrade Sabayon without booting off liveDVD

Postby chickpea » Thu Dec 27, 2007 15:28

coming soon, you will be able to do this via equo, which will provide a more (dare I say) ubuntuesqe update model.
chickpea
Sagely Hen
 
Posts: 1084
Joined: Fri Jan 05, 2007 15:08
Location: Washington, DC

Re: Upgrade Sabayon without booting off liveDVD

Postby wolfden » Fri Dec 28, 2007 15:03

nebster wrote:My original question is marked below.

Basic How-to copy to harddrive and install it
1- Make a new Primary partition that is over the size of the iso. Format it as ext2
Notes: Logical partitions do not work. This is because of grub sending the wrong data to the second boot loader

2- Mount the partition as /mnt/isoroot
Code: Select all
mkdir /mnt/isoroot
mount /dev/partition /mnt/isoroot


3- Mount the iso with:
Code: Select all
mkdir /mnt/iso
mount -o loop -t iso9660 /path/to/iso /mnt/iso


4- Now copy all the files over:
Code: Select all
cp -r /mnt/iso/* /mnt/isoroot/


5- Next, you need to copy all the isolinux/ files out, so:
Code: Select all
cp -r /mnt/isoroot/isolinux/* /mnt/isoroot/



6- We'll be using extlinux so:
Code: Select all
mv /mnt/isoroot/isolinux.cfg /mnt/isoroot/extlinux.conf


7- We need to delete all the isolinux files apart from the boot text, so:
Code: Select all
mv /mnt/isoroot/isolinux.txt /mnt/isoroot/isolin.txt
rm -rf /mnt/isoroot/isolinux*
mv /mnt/isoroot/isolin.txt /mnt/isoroot/isolinux.txt


8- Next, you need to emerge syslinux and install the boot loader to the partition:
Code: Select all
emerge syslinux
extlinux --install /mnt/isoroot


9- Finally, add it to grub.conf. Open it up and add:
Code: Select all
TITLE Sabayon Installer
  rootnoverify (Drive,Partition)
  chainloader +1


-----------------------ORIGINAL QUESTION-----------------------

Hi, I want to install the latest version of sabayon without having to burn it to a DVD.
Would it be possible?
I'm currently using Sabayon miniEdition and I want to upgrade to the full version (beta if possible)


You should add this to the wiki as many are interested in this

as chickpea said, equo --world is available too
wolfden
Sharecropper
 
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Upgrade Sabayon without booting off liveDVD

Postby nebster » Sun Dec 30, 2007 0:27

wolfden wrote:You should add this to the wiki as many are interested in this

as chickpea said, equo --world is available too


Yeah, but using equo is really only for those who have gentoo/Sabayon already. This can also be used by other dists.

e.g. Installing Sabayon from a Ubuntu LiveCD
nebster
Young Hen
 
Posts: 20
Joined: Thu Dec 27, 2007 11:14

Re: Upgrade Sabayon without booting off liveDVD

Postby Element » Sun Jan 06, 2008 6:48

About how big should the ext2 partition be? I need this for more specific wiki information
Element
Growing Hen
 
Posts: 144
Joined: Mon Dec 11, 2006 0:55
Location: 127.0.0.2

Re: Upgrade Sabayon without booting off liveDVD

Postby nebster » Fri Jan 11, 2008 17:33

Element wrote:About how big should the ext2 partition be? I need this for more specific wiki information


Over the size of the iso to be safe(add a few mb like 50) Just make sure everything can be copied over and it'll work I think
nebster
Young Hen
 
Posts: 20
Joined: Thu Dec 27, 2007 11:14

Re: Upgrade Sabayon without booting off liveDVD

Postby zhw » Sat Jan 26, 2008 19:14

I'm trying to do the same thing the OP is. I got everything fine up until "emerge syslinux" and then "extlinux --install etc". I emerged syslinux, but my old sabayon install doesn't recognize the command extlinux. I tried in Ubuntu using apt-get instead of emerge and now it recognizes "extlinux" but it doesn't recognize "--install". Did I do something wrong? Is there another way to install extlinux?

Edit: Okay, I figured it out. I still couldn't get the extlinux command to work in Sabayon or do what I wanted in Ubuntu, but I had a Knoppix CD that worked just fine with it, so I used that. The snippet of text given for GRUB didn't work, but I solved that by editing the Windows entry to point to a different partition, and then Sabayon insisted on looking for the installation media on /dev/sr0 instead of sdb2 where it actually was, and I got around that be removing the IDE cable from my CD drive. Worked great after that.
zhw
Baby Hen
 
Posts: 1
Joined: Sat Jan 26, 2008 18:52

Re: Upgrade Sabayon without booting off liveDVD

Postby kraemer » Wed Mar 26, 2008 22:23

Element wrote:About how big should the ext2 partition be? I need this for more specific wiki information


By chance have you completed your wiki addition, and if so can you post the link? I'd like to add it to my list of support links in the event I come across anybody else that may benefit from the info :-D
kraemer
Baby Hen
 
Posts: 17
Joined: Tue Mar 18, 2008 20:16

Next

Return to Installer Issues - Calamares **Not for Package Manager Stuff**

Who is online

Users browsing this forum: No registered users and 1 guest