Trisquel 3.5 Re installation

9 respuestas [Último envío]
joe1600
Desconectado/a
se unió: 05/06/2010

hii i have a single ide hdd /dev/sda

i had installed Trisuel 3.5 as follows

/ on /dev/sda5
/boot /dev/sd6
/home on sd8
/var on sd9
/vat/tmp on sd10
swap sw

i messed up my system while upgrading to trisquel 4.0 LTS beta,now i want to
reinstall Trisquel but want /home partition to be preserved as such after re
installing

regards

any suggestions

quiliro
Desconectado/a
se unió: 02/24/2009

2010/5/13 Joe Joseph <name at domain>

> hii i have a single ide hdd /dev/sda
>
> i had installed Trisuel 3.5 as follows
>
> / on /dev/sda5
> /boot /dev/sd6
> /home on sd8
> /var on sd9
> /vat/tmp on sd10
> swap sw
>
> i messed up my system while upgrading to trisquel 4.0 LTS beta,now i want
> to reinstall Trisquel but want /home partition to be preserved as such after
> re installing
>
> regards
>
> any suggestions
>

dd if=/dev/sda8 of=/where/ever/you/want/to put/it

Then install Trisquel 4.0 and then put back the image on the new home
partition.
dd if=/where/ever/you/want/to put/it of= /dev/new/home/partition

The new home partition must be equal or bigger than the original home
partition. Make sure you make an image of the new home partition in case it
doesn't work to put the old partition back.

Hope this helps.
--
Saludos/Greetings
Quiliro Ordóñez
593(2)340 1517 / 593(9)821 8696
http://quiliro.wordpress.com/2010/04/28/cronica-de-un-contrato-con-el-estado-1/
Estas son opiniones personales y no representan la posición de ninguna
organización.

ayobayo
Desconectado/a
se unió: 09/22/2009

Here is how I would do it:
First use a live cd to mount your /home/JoeJoseph partition and remove all (hidden) configuration files (you could even remove all directories and files starting with a . (rm -rf .*)). These files tend to mess up the configuration of the new to install system.
Then you just reinstall Trisquel. When at the partitioning part, take caution not to format your home partition sda8, just create the mount point /home/ for it. The other partitions you can format and create the same mount points for as before. Do not repartition your HD!
Then continue the installation. All the normal documents and music and pictures and whatever you keep on your home partition will be available as before.

quiliro
Desconectado/a
se unió: 02/24/2009

2010/5/13 <name at domain>

> Here is how I would do it:
> First use a live cd to mount your /home/JoeJoseph partition and remove all
> (hidden) configuration files (you could even remove all directories and
> files starting with a . (rm -rf .*)). These files tend to mess up the
> configuration of the new to install system.
> Then you just reinstall Trisquel. When at the partitioning part, take
> caution not to format your home partition sda8, just create the mount point
> /home/ for it. The other partitions you can format and create the same mount
> points for as before. Do not repartition your HD!
> Then continue the installation. All the normal documents and music and
> pictures and whatever you keep on your home partition will be available as
> before.

Didn't occur to me to rm -rf .* This is a great method! Thank you.
Nevertheless, always backup. Suppose you loose your information 1 time out
of 100. Could you affort to loose it?

--
Saludos/Greetings
Quiliro Ordóñez
593(2)340 1517 / 593(9)821 8696
http://quiliro.wordpress.com/2010/04/28/cronica-de-un-contrato-con-el-estado-1/
Estas son opiniones personales y no representan la posición de ninguna
organización.

quiliro
Desconectado/a
se unió: 02/24/2009

2010/5/13 Quiliro Ordóñez <name at domain>

>
> Suppose you loose your information 1 time out of 100. Could you affort to
> loose it?
>

I meant lose.

--
Saludos/Greetings
Quiliro Ordóñez
593(2)340 1517 / 593(9)821 8696
http://quiliro.wordpress.com/2010/04/28/cronica-de-un-contrato-con-el-estado-1/
Estas son opiniones personales y no representan la posición de ninguna
organización.

quidam

I am a member!

I am a translator!

Desconectado/a
se unió: 12/22/2004

> Here is how I would do it:
> First use a live cd to mount your /home/JoeJoseph partition and
> remove all (hidden) configuration files (you could even remove all
> directories and files starting with a . (rm -rf .*)). These files
> tend to mess up the configuration of the new to install system.

Don't!

Those hidden files should always be kept. Note that not only config
files live in hidden directories, you would lose your email, your gpg
key, your ssh key, your gnome keyring, your bookmarks, logs, and lots of
other important stuff. Please, be careful with your advice.

If your reinstalled system fails to load the desktop session -it never
happened to me-, you have plenty of tools to fix it.

ayobayo
Desconectado/a
se unió: 09/22/2009

True. Slight oversight from my side. :-(
Is because I keep my mail and key's on yet another seperate partition. After a reinstall I just create links to there. The mentioned logs, bookmarks and other stuff I don't care for, good to clear them away from time to time.

quiliro
Desconectado/a
se unió: 02/24/2009

El 13 de mayo de 2010 10:07, Rubén Rodríguez <name at domain> escribió:

>
> > Here is how I would do it:
> > First use a live cd to mount your /home/JoeJoseph partition and
> > remove all (hidden) configuration files (you could even remove all
> > directories and files starting with a . (rm -rf .*)). These files
> > tend to mess up the configuration of the new to install system.
>
> Don't!
>
> Those hidden files should always be kept. Note that not only config
> files live in hidden directories, you would lose your email, your gpg
> key, your ssh key, your gnome keyring, your bookmarks, logs, and lots of
> other important stuff. Please, be careful with your advice.
>
> True. That's why I suggest a backup.

> If your reinstalled system fails to load the desktop session -it never
> happened to me-, you have plenty of tools to fix it.
>

I didn't know about them. Will ask if needed another time. Thanks.

--
Saludos/Greetings
Quiliro Ordóñez
593(2)340 1517 / 593(9)821 8696
http://quiliro.wordpress.com/2010/04/28/cronica-de-un-contrato-con-el-estado-1/
Estas son opiniones personales y no representan la posición de ninguna
organización.

quidam

I am a member!

I am a translator!

Desconectado/a
se unió: 12/22/2004

> dd if=/dev/sda8 of=/where/ever/you/want/to put/it
>
> Then install Trisquel 4.0 and then put back the image on the new home
> partition.
> dd if=/where/ever/you/want/to put/it of= /dev/new/home/partition
>
> The new home partition must be equal or bigger than the original home
> partition. Make sure you make an image of the new home partition in
> case it doesn't work to put the old partition back.

This is a risky advice, the installer can handle this kind of problems.

quidam

I am a member!

I am a translator!

Desconectado/a
se unió: 12/22/2004

> i had installed Trisuel 3.5 as follows
>
> / on /dev/sda5
> /boot /dev/sd6
> /home on sd8
> /var on sd9
> /vat/tmp on sd10
> swap sw
>
> i messed up my system while upgrading to trisquel 4.0 LTS beta,now i
> want to reinstall Trisquel but want /home partition to be preserved
> as such after re installing

The live installer allows to manually create, remove or keep and use any
partition you have. Delete everything but /home, mark it to be used
-but not formatted!- and set its mountpoint. Create the other
partitions as needed. A simple ext4 / partition and a swap one should
be enough.