Re: From x86 to x86-64

2009-02-16 Thread Jimmy Johnson

Ron Johnson wrote:

On 02/16/2009 08:33 AM, Jimmy Johnson wrote:
[snip]



Hi Ron, just to let you know, if you have /home installed to /root and 
you have another OS installed or a Live CD to use you can delete all 
files except /home and then install no-format, if you get a warning 
after partition management to cancel or ignore, choose ignore, this 
works, I have done it many times.



You're a braver man than I!  One false step, and *poof*...



Yep, you're right, I'm brave, loyal and trustworthy, a regular Boy Scout 
I am. :)


Just along time Debian tester and willing to try different things, I 
predict that one of these days the Debian installer will have the option 
to save home and will then delete the system files for you, but until 
then the above is the next best thing.


I just now did a KDE install using the final Lenny DVD one where you now 
have the option of installing anyone one of four different desktops 
(sweet) and did not get any warning at all about not formating /root, I 
just used another system I had installed to delete all the files except 
/home and then did the install no-format /root, no wasted space and the 
system is installed all on one partition, I'm installing more software 
to it now, so I do know that this works and I have done it many times on 
many computers. :)

--
Jimmy Johnson

Bakersfield, CA. U.S.A.
Registered Linux User #380263
K.I.S.S. (Keep it simple stupid)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: From x86 to x86-64

2009-02-15 Thread S Scharf
On Sat, Jan 31, 2009 at 5:31 AM, Anthony Campbell a...@acampbell.org.ukwrote:

 On 30 Jan 2009, Johannes Wiedersich wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  tinkywinky wrote:
   I've installed x86 version of Lenny, but I have 64-bit processor. I'd
 like
   to change to use 64-bit version of debian. Is that possible without
 having
   to reinstall?
 
  There is a very simple way: just install the linux-image-*-amd64 and
  boot into that kernel. This will run a 64bit kernel with your 32bit
  system. It won't be 'fully' 64, but for me it's 64bit enough on my
 laptop.
 
  I don't really know how much real life improvement a fresh install of
  amd64 would yield, but I guess for most desktop systems it is not really
  to worry about...
  (Please correct me, if that's wrong or share any expererience on that)
 
  YMMV, cheers,
 
  Johannes
 
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.9 (GNU/Linux)

 Reading your post, I found I'd been doing that for a long time without
 realizing it!. I've never had any problems; whether there is any benefit
 I've no idea.

 Anthony


All,
I was thnking of doing a 32 bit to 64 bit upgrade myself using the dpkg
--get-selections
and dpkg --set-selectionsroute. This raises another question:

Can I install the 64 bit linux image, change my sources.list file to amd64
and do
a dist-upgrade?

Stuart


Re: From x86 to x86-64

2009-02-15 Thread Ron Johnson

On 02/15/2009 10:08 AM, S Scharf wrote:
[snip]



All,
I was thnking of doing a 32 bit to 64 bit upgrade myself using the dpkg
--get-selections
and dpkg --set-selectionsroute. This raises another question:

Can I install the 64 bit linux image, change my sources.list file to amd64
and do
a dist-upgrade?


You could try!!!  But I'd only do it if /home were in a separate 
partition, and a 64-bit Lenny ISO were burned do a CD, for those 
just in case scenarios.


--
Ron Johnson, Jr.
Jefferson LA  USA

Supporting World Peace Through Nuclear Pacification


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: From x86 to x86-64

2009-02-15 Thread Joel Roth
On Sun, Feb 15, 2009 at 11:08:39AM -0500, S Scharf wrote:
 All,
 I was thnking of doing a 32 bit to 64 bit upgrade myself using the dpkg
 --get-selections
 and dpkg --set-selectionsroute. This raises another question:
 
 Can I install the 64 bit linux image, change my sources.list file to amd64
 and do
 a dist-upgrade?

If at all possible, I'd recommend your installing 64-bit
debian in a separate partition. That way, you can go back to
your operational 32-bit system if need be, and have a
way to troubleshoot 32/64 bit issues.

Good luck,

Joel

 
 Stuart


-- 
Joel Roth


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: From x86 to x86-64

2009-01-31 Thread Jochen Schulz
pierpaolo:
 On Fri, Jan 30, 2009 at 6:54 PM, Jochen Schulz m...@well-adjusted.de wrote:
 
 ...you can use debootstrap to reinstall without using the installer and
 without repartitioning your hard drive. You just need a swap partition
 large enough to hold the base system.
 
 How is this supposed to work, please?

The basic idea:

swapoff /dev/sdX
mkfs.ext3 /dev/sdX
mount /dev/sdX /somewhere
debootstrap /somewhere
chroot /somewhere
grub-install /dev/sdX
exit
modify menu.lst to use /dev/sdX as root device
reboot
copy necessary system configuration from old-root-device
mkfs.ext3 /dev/old-root-device
clone new system to old-root-device
reboot
mkswap /dev/sdX
swapon /dev/sdX

There are moe specific HOWTOs about the process on the net.

J.
-- 
Television advertisements are the apothesis of twentieth century culture.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: From x86 to x86-64

2009-01-31 Thread Jörg-Volker Peetz
Johannes Wiedersich wrote:
 tinkywinky wrote:
 I've installed x86 version of Lenny, but I have 64-bit processor. I'd like
 to change to use 64-bit version of debian. Is that possible without having
 to reinstall?
 
 There is a very simple way: just install the linux-image-*-amd64 and
 boot into that kernel. This will run a 64bit kernel with your 32bit
 system. It won't be 'fully' 64, but for me it's 64bit enough on my laptop.
 
 I don't really know how much real life improvement a fresh install of
 amd64 would yield, but I guess for most desktop systems it is not really
 to worry about...
 (Please correct me, if that's wrong or share any expererience on that)
 
 YMMV, cheers,
 
 Johannes
 

If you want to compile 64-bit code, I think, you need more packages of the
64-bit world.
-- 
Regards,
Jörg-Volker.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: From x86 to x86-64

2009-01-31 Thread Ron Johnson

On 01/31/2009 02:57 AM, Jochen Schulz wrote:

pierpaolo:

On Fri, Jan 30, 2009 at 6:54 PM, Jochen Schulz m...@well-adjusted.de wrote:


...you can use debootstrap to reinstall without using the installer and
without repartitioning your hard drive. You just need a swap partition
large enough to hold the base system.

How is this supposed to work, please?


The basic idea:

swapoff /dev/sdX
mkfs.ext3 /dev/sdX
mount /dev/sdX /somewhere
debootstrap /somewhere
chroot /somewhere
grub-install /dev/sdX
exit
modify menu.lst to use /dev/sdX as root device
reboot
copy necessary system configuration from old-root-device
mkfs.ext3 /dev/old-root-device
clone new system to old-root-device


cp?


reboot
mkswap /dev/sdX
swapon /dev/sdX

There are moe specific HOWTOs about the process on the net.


--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: From x86 to x86-64

2009-01-31 Thread Jörg-Volker Peetz
Alan Ianson wrote:
 On January 30, 2009 06:11:54 am tinkywinky wrote:
 Hello,

 I've installed x86 version of Lenny, but I have 64-bit processor. I'd like
 to change to use 64-bit version of debian. Is that possible without having
 to reinstall?
 
 I think you are best off to reinstall. dpkg --get-selections 
 and dpkg --set-selections might help if you want to end up in the same 
 place you are now.
 

After saving your configurations in /etc, even better would be something like 
this

on the old system
  aptitude -F '%p' search '~i!~M'  manually-installed

take the file manually-installed to the system to be installed and command, 
e.g.,
  xargs  manually-installed aptitude -y install


Alternatively, save at least the information which packages are installed
automatically and restore that information:

on the old system
  aptitude -F '%p' search '~M'  automatically-installed

take the file automatically-installed to the otherwise restored system and
command, e.g.,
  xargs  automatically-installed aptitude -y markauto

-- 
Regards,
Jörg-Volker.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: From x86 to x86-64

2009-01-31 Thread Adrian Levi
On 31/01/2009, Ron Johnson ron.l.john...@cox.net wrote:
 On 01/31/2009 02:57 AM, Jochen Schulz wrote:

  clone new system to old-root-device

  cp?

I'd be interested in this as well.

I just recently tried cloning a filesystem using cp and it worked
except I was unable to su - to root. I could login to root directly,
login under my username correctly but su - failed with something along
the lines of:
su: Authentication Failure

I tried setting umask  rsync and others but something was screwing
things up, neither fs was in use (booted from live cd) but were
mounted.

dump / restore worked perfectly.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
erno hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: From x86 to x86-64

2009-01-31 Thread Anthony Campbell
On 30 Jan 2009, Johannes Wiedersich wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 tinkywinky wrote:
  I've installed x86 version of Lenny, but I have 64-bit processor. I'd like
  to change to use 64-bit version of debian. Is that possible without having
  to reinstall?
 
 There is a very simple way: just install the linux-image-*-amd64 and
 boot into that kernel. This will run a 64bit kernel with your 32bit
 system. It won't be 'fully' 64, but for me it's 64bit enough on my laptop.
 
 I don't really know how much real life improvement a fresh install of
 amd64 would yield, but I guess for most desktop systems it is not really
 to worry about...
 (Please correct me, if that's wrong or share any expererience on that)
 
 YMMV, cheers,
 
 Johannes
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)

Reading your post, I found I'd been doing that for a long time without
realizing it!. I've never had any problems; whether there is any benefit
I've no idea.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: From x86 to x86-64

2009-01-31 Thread Eduardo M KALINOWSKI
Adrian Levi wrote:
 On 31/01/2009, Ron Johnson ron.l.john...@cox.net wrote:
   
 On 01/31/2009 02:57 AM, Jochen Schulz wrote:
 
 clone new system to old-root-device
   
  cp?
 

 I'd be interested in this as well.
   

cp -ax source destination does a great job.

But my favorite is rsync. There are a gazillion options, but something
like rsync -a -v source destination is great for copies like that, and
it can be interrupted and resumed later.

-- 
Providence, New Jersey, is one of the few cities where Velveeta cheese
appears on the gourmet shelf.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br
http://move.to/hpkb


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



From x86 to x86-64

2009-01-30 Thread tinkywinky
Hello,

I've installed x86 version of Lenny, but I have 64-bit processor. I'd like
to change to use 64-bit version of debian. Is that possible without having
to reinstall?

I thought of using a separate working directory where to install everything
(if that is possible), and then move them to root. Is that a bad idea, and
is there a better way around (probably is =)?

T. Winky


Re: From x86 to x86-64

2009-01-30 Thread Kevin Philp
I think your best bet is to keep your home files on separate partition 
and reinstall everything else. There is no reason you can't have three 
partitions : 64 bit root, 32 bit root and a shared partition with /home 
on it.


Kevin.

tinkywinky wrote:

Hello,
 
I've installed x86 version of Lenny, but I have 64-bit processor. I'd 
like to change to use 64-bit version of debian. Is that possible 
without having to reinstall?
 
I thought of using a separate working directory where to install 
everything (if that is possible), and then move them to root. Is that 
a bad idea, and is there a better way around (probably is =)?
 
T. Winky



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: From x86 to x86-64

2009-01-30 Thread Jochen Schulz
tinkywinky:
 
 I've installed x86 version of Lenny, but I have 64-bit processor. I'd like
 to change to use 64-bit version of debian. Is that possible without having
 to reinstall?

Generally no, but...

 I thought of using a separate working directory where to install everything
 (if that is possible), and then move them to root. Is that a bad idea, and
 is there a better way around (probably is =)?

...you can use debootstrap to reinstall without using the installer and
without repartitioning your hard drive. You just need a swap partition
large enough to hold the base system.

J.
-- 
I wish I could do more to put the sparkle back into my marriage.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: From x86 to x86-64

2009-01-30 Thread pierpaolo
On Fri, Jan 30, 2009 at 6:54 PM, Jochen Schulz m...@well-adjusted.de wrote:

 ...you can use debootstrap to reinstall without using the installer and
 without repartitioning your hard drive. You just need a swap partition
 large enough to hold the base system.


How is this supposed to work, please?
thanx


Re: From x86 to x86-64

2009-01-30 Thread Alan Ianson
On January 30, 2009 06:11:54 am tinkywinky wrote:
 Hello,

 I've installed x86 version of Lenny, but I have 64-bit processor. I'd like
 to change to use 64-bit version of debian. Is that possible without having
 to reinstall?

I think you are best off to reinstall. dpkg --get-selections 
and dpkg --set-selections might help if you want to end up in the same 
place you are now.

 I thought of using a separate working directory where to install everything
 (if that is possible), and then move them to root. Is that a bad idea, and
 is there a better way around (probably is =)?

I suppose if you need to reinstall anyway now is a good time to see what you 
can (or can't) do.. :)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: From x86 to x86-64

2009-01-30 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

tinkywinky wrote:
 I've installed x86 version of Lenny, but I have 64-bit processor. I'd like
 to change to use 64-bit version of debian. Is that possible without having
 to reinstall?

There is a very simple way: just install the linux-image-*-amd64 and
boot into that kernel. This will run a 64bit kernel with your 32bit
system. It won't be 'fully' 64, but for me it's 64bit enough on my laptop.

I don't really know how much real life improvement a fresh install of
amd64 would yield, but I guess for most desktop systems it is not really
to worry about...
(Please correct me, if that's wrong or share any expererience on that)

YMMV, cheers,

Johannes

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmDT3kACgkQC1NzPRl9qEXGQQCaA6NQEG+karlFrfNxNNA26RSq
jFsAn2G5zlFVu/ifer/p1mdPlwTfyZZM
=V1pv
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: From x86 to x86-64

2009-01-30 Thread Ron Johnson

On 01/30/2009 01:05 PM, Johannes Wiedersich wrote:


tinkywinky wrote:

I've installed x86 version of Lenny, but I have 64-bit processor. I'd like
to change to use 64-bit version of debian. Is that possible without having
to reinstall?


There is a very simple way: just install the linux-image-*-amd64 and
boot into that kernel. This will run a 64bit kernel with your 32bit
system. It won't be 'fully' 64, but for me it's 64bit enough on my laptop.

I don't really know how much real life improvement a fresh install of
amd64 would yield, but I guess for most desktop systems it is not really
to worry about...
(Please correct me, if that's wrong or share any expererience on that)


I concur with Johannes.  Install a 64-bit kernel and keep your 
existing 32-bit userland.  It's what I do, and it works like a charm.


--
Ron Johnson, Jr.
Jefferson LA  USA

I am not surprised, for we live long and are celebrated poopers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org