Welcome, Guest. Please login or register.

Author Topic: Tips on moving to Linux?  (Read 69465 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline Ral-ClanTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 1979
  • Country: ca
    • Show only replies by Ral-Clan
    • http://www3.sympatico.ca/clarke-santin/
Re: Tips on moving to Linux?
« Reply #239 from previous page: April 07, 2014, 05:55:03 PM »
Quote from: Mr_Bumpy;762123
The only thing I can think of is perhaps you need to run a chkdsk on the NTFS drive. Have you booted into Windows since resizing the partition? It will usually run chkdsk automatically when booting when it discovers the partition size has changed.

Yeah, I ran a chkdsk before re-partitioning, and once I partitioned, I booted in Windows XP and it automatically ran a chkdsk.  I've booted into Windows several times since (and before trying to back up with CloneZilla).

Since Clonezilla didn't work, I tried my old backup software, Nero Backitup Essentials (a basic OEM version that came with my DVD-writer and runs in windows or from a bootable recovery CD).  It's always worked well when backing up my Windows XP partition.

It also seems to recognize the file system on the linux partition (it shows a graphic diagram of the disk structure and identifies the Windows partion as NTFS, the Linux partition as ext3 or something (I can't remember)).  It also identifies another undesignated 3GB partition on the disk (not sure what that is).

I've used it now to backup both the Windows XP and Linux partitions individually, and then the whole drive (imaging the drive).

Before backing Linux partition it does warn that since the partition doesn't have a Drive Letter, it can't lock the partition during backup. However it will still proceed and does successfully verify the backup image file against the real partition.

As I said, I've also used it to "image" the whole 160GB drive (Windows XP / Linux / undesignated partitions) all together.  Since Nero Backitup is a Windows program, and I'm booting from the Windows XP partition, it warns again that it won't be able to lock the Windows partition as it is in use.  But again, it backs up the whole drive.  I know in the past when I've had to restore my Windows XP setup from these backups it has worked fine.

Nero Backitup Essentials is pretty easy to use and even allows the making of a bootable live restore CD (which I've done and had to use in the past).

So I hope I'm covered.
« Last Edit: April 07, 2014, 06:01:33 PM by ral-clan »
Music I've made using Amigas and other retro-instruments: http://theovoids.bandcamp.com
 

Offline cgutjahr

  • Hero Member
  • *****
  • Join Date: Feb 2003
  • Posts: 697
  • Country: 00
    • Show only replies by cgutjahr
Re: Tips on moving to Linux?
« Reply #240 on: April 07, 2014, 06:19:33 PM »
Quote from: ral-clan;762139
It also identifies another undesignated 3GB partition on the disk (not sure what that is).

Linux uses a separate partition called "swap" or "swap space" for saving virtual memory to disk. This results in better performance, and said partition can not be invalidated since no filesystem is involved.

Quote

So I hope I'm covered.

I don't have experience with backing up multi boot setups. But as far as Linux is covered, backing up your home directory (/home/USERNAME/) usually means everything you want to keep is save. You can (re)install Linux or install it on a different computer and after copying back the contents of your home directory, everything is set up the way it used to be. You'll have to reinstall the additional applications you were using of course, but their configurations have been preserved aswell.

(Most of these important config files and directories are hidden files starting with a dot. navigate to your home directory and press Control-H to see them)
 

Offline TeamBlackFox

  • Master SPARC
  • Full Member
  • ***
  • Join Date: Jan 2014
  • Posts: 220
    • Show only replies by TeamBlackFox
Re: Tips on moving to Linux?
« Reply #241 on: April 08, 2014, 12:32:24 AM »
Hey ral-clan,

I know this was previously mentioned, but one of the UNIX ways of backing up drives is to use Disk Dump or dd.

Open a terminal, and type gparted, then when you get the partition number for your NTFS partition (/dev/sda# if SATA/SCSI or /dev/hda# if IDE) then close out and drop back to the shell.

Type the following:

Code: [Select]
$ mkdir ~/backups
$ dd if=$yourpartition# of=~/backups/$backupname bs=4096 conv=noerror
Example:
Code: [Select]
$ dd if=/dev/sda2 of=~/backups/archbang20140407 bs=4096 conv=noerrorThis will copy a disk image equal to size of your partition to a directory called backups in your home directory.

It takes awhile but this method has a few benefits:

1. If you lose all your data or mess up that partition, setting up a new partition then running dd to copy the data back (if is the source and of is the destination, so you can do it backwards) this will result in a (mostly) turnkey solution, assuming your bootloader is already setup

2. The image you made COULD be run in a VM if needed.

3. You can restore the image from any UNIX system, this command will work on Linux, BSD, Solaris, Mac OS X, and apparently there is a dd port for Windows too, never used it myself, however.
« Last Edit: April 08, 2014, 12:45:07 AM by TeamBlackFox »
After many years in the Amiga community I have decided to leave the Amiga community permanently. If you have a question about SGI or Sun computers please PM me and I will return your contact as soon as I can.
 

Offline Iggy

  • Hero Member
  • *****
  • Join Date: Aug 2009
  • Posts: 5348
    • Show only replies by Iggy
Re: Tips on moving to Linux?
« Reply #242 on: April 08, 2014, 01:17:28 AM »
Quote from: cgutjahr;761963
This is  now the fourth (and definitely the last) time that I tell you I'm talking about the other case where one is trying to install Windows after Linux.

Please read what you're replying to, it would have saved both of us quite some time.

UH, but that is the DUMB way to do it.
Windows or OSX first, then Linux, because those first two OS' aren't smart enough to co-exist with something else.
"Not making any hard and fast rules means that the moderators can use their good judgment in moderation, and we think the results speak for themselves." - Amiga.org, terms of service

"You, got to stem the evil tide, and keep it on the the inside" - Rogers Waters

"God was never on your side" - Lemmy

Amiga! "Our appeal has become more selective"
 

Offline Ral-ClanTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 1979
  • Country: ca
    • Show only replies by Ral-Clan
    • http://www3.sympatico.ca/clarke-santin/
Re: Tips on moving to Linux?
« Reply #243 on: April 08, 2014, 01:02:56 PM »
Quote from: TeamBlackFox;762157
Hey ral-clan,

I know this was previously mentioned, but one of the UNIX ways of backing up drives is to use Disk Dump or dd.


Thanks, Teamblackfox.  That was informative.  I've got a lot to learn, but Linux is obviously very powerful once you've mastered the terminal.
Music I've made using Amigas and other retro-instruments: http://theovoids.bandcamp.com
 

Offline psxphill

Re: Tips on moving to Linux?
« Reply #244 on: April 08, 2014, 03:15:31 PM »
Quote from: Iggy;762159
UH, but that is the DUMB way to do it.
Windows or OSX first, then Linux, because those first two OS' aren't smart enough to co-exist with something else.

 It's not dumb. All you need to do is reinstall grub, if you have a problem doing that then Linux is not for you.
 
http://askubuntu.com/questions/83771/recovering-grub-after-installing-windows-7
 

Offline ferrellsl

Re: Tips on moving to Linux?
« Reply #245 on: April 08, 2014, 04:09:17 PM »
Quote from: cgutjahr;761963
This is  now the fourth (and definitely the last) time that I tell you I'm talking about the other case where one is trying to install Windows after Linux.

Please read what you're replying to, it would have saved both of us quite some time.

No, you weren't talking about trying to install Windows AFTER Linux.  You made earlier statements that it was impossible to have Windows and Linux coexist on the same system at all. Then, after being confronted by more than one person that you were incorrect, you started changing your story.  Now you're changing it again.

Care to go for five now?
 

Offline ElPolloDiabl

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show only replies by ElPolloDiabl
Re: Tips on moving to Linux?
« Reply #246 on: April 08, 2014, 04:40:17 PM »
A boot repair use to be: FDISK and edit config.sys

Though Windows really gets surly when there is more than one drive. It has written the MBR on the spare drive on several occasions. I don't know why.

edit: I just found an answer. You change the drive order in the BIOS.
« Last Edit: April 08, 2014, 04:44:32 PM by ElPolloDiabl »
Go Go Gadget Signature!
 

Offline cgutjahr

  • Hero Member
  • *****
  • Join Date: Feb 2003
  • Posts: 697
  • Country: 00
    • Show only replies by cgutjahr
Re: Tips on moving to Linux?
« Reply #247 on: April 08, 2014, 10:13:57 PM »
Quote from: ferrellsl;762196
You made earlier statements that it was impossible to have Windows and Linux coexist on the same system at all.

My first post in  this thread says: "Ubuntu can also be installed in parallel to an existing Windows install, without having to reformat your existing harddisk partitions".

Not sure what thread you're reading, certainly not this one.
 

Offline ferrellsl

Re: Tips on moving to Linux?
« Reply #248 on: April 09, 2014, 05:05:14 AM »
Quote from: cgutjahr;762220
My first post in  this thread says: "Ubuntu can also be installed in parallel to an existing Windows install, without having to reformat your existing harddisk partitions".

Not sure what thread you're reading, certainly not this one.



Yes, I'm reading this thread quite well and on page 14 here's what you had to say about Linux and Windows being unable to coexist:

Quote

2. installing Windows alongside Linux isn't possible at all - so far Linux beats Windows hands down, as far as you are concerned.
 

Offline persia

  • Hero Member
  • *****
  • Join Date: Sep 2006
  • Posts: 3753
    • Show only replies by persia
Re: Tips on moving to Linux?
« Reply #249 on: April 09, 2014, 03:17:31 PM »
Because Linux is pretty light on resources you should be able to run it happily in a VM on a low end core i3 or perhaps even lower end.

[SIGPIC][/SIGPIC]

What we\'re witnessing is the sad, lonely crowing of that last, doomed cock.
 

Offline CritAnime

  • Previous Life Time Member
  • Hero Member
  • *****
  • Join Date: Jun 2011
  • Posts: 1143
    • Show only replies by CritAnime
Re: Tips on moving to Linux?
« Reply #250 on: April 09, 2014, 06:17:22 PM »
Ops system is a p4 without any virtualisation extensions. So it would be very unlikely that a system would run smoothly under vm.

But yes the Linux kernel is light. The stuff that's attached to it is what takes resources. I don't know if it's true still but at one bit you could have a Linux kernel running off a floppy.

Offline gaula92

  • Sr. Member
  • ****
  • Join Date: Dec 2007
  • Posts: 373
    • Show only replies by gaula92
Re: Tips on moving to Linux?
« Reply #251 on: April 09, 2014, 07:51:09 PM »
Quote from: CritAnime;762255
Ops system is a p4 without any virtualisation extensions. So it would be very unlikely that a system would run smoothly under vm.

But yes the Linux kernel is light. The stuff that's attached to it is what takes resources. I don't know if it's true still but at one bit you could have a Linux kernel running off a floppy.


It's true as long as:
1) You can still boot floppies
2) You compile a kernel with disabled built-int features (most of the kernel built-in hardware support won't be used in your computer EVER, anyway)
3) You minimize the external modules to these you really need.
 

Offline AmigaPixel

  • Sr. Member
  • ****
  • Join Date: Apr 2007
  • Posts: 388
    • Show only replies by AmigaPixel
Re: Tips on moving to Linux?
« Reply #252 on: April 10, 2014, 08:48:02 AM »
@ral-clan

I am doing the same for now.


My main pc has Win XP pro but I intend to upgrade it to Win 7 Pro. I am concerned whether or not XP compatibility mode will really work with some of my older software. The other concern is there are no Win 7 drivers only Win Vista 32/64bit drivers. It seems from what I read in various forums and articles Vista drivers often work in Win 7 but not always. It is an older Compaq Presario I bought used for good price in 2008 at a pawnshop (not where I normally by used PC’s) It originally came with Windows Vista Home Premium but who ever pawned it had stripped that off and put a 30 day trial of Win Vista Basic, which already expired! I intended to install XP pro anyway so I bought it for the hardware. I am hoping the Vista drivers work or better yet Win 7 SP1 will find all of the hardware and the only thing I will have to install is the nVidia driver.


My Ubuntu experience:

In the mean time like others I trying Ubuntu mainly for my internet and emails. It ran fine from the DVD, very slow to load of course. Instillation went smooth until it was time to restart when Ubuntu froze. I had walked away for a while and when I came back it had gone into a sleep mode while the restart dialog box was up. Maybe that had some bearing on it. Anyway I powered it off and back on expecting to see a Grub screen, and…. Nothing! Straight to Windows XP wanting to run a check disk on the partition I installed Ubuntu. at least what Win XP could still see. After some quick research  I downloaded the Linux Grub/MBR boot repair ISO image. Rebooted with it and ran the fix utility. That did the trick! I now had a dual boot XP/Ubuntu machine.

Notice I say the word “had”. I just could not leave well enough alone. I thought hey lets install a Linux nVidia driver which screwed it all up. I got stuck in an endless loop of low graphics mode message. I could not even click on or tab to the OK button. I tried the Ubuntu recovery mode and steps I read to fix the issue but it didn’t work. To sum it up I had to delete the partition and use the Win install disk/Recovery console to fix the MBR. Then use a third party partition software to reclaim and stitch the lost partition back to the second partition. Whew! Lesson learned! Leave it be! Ubuntu works just fine without me mucking it up. I will try re-installing it tomorrow.
 

Offline psxphill

Re: Tips on moving to Linux?
« Reply #253 on: April 10, 2014, 10:43:01 AM »
Quote from: AmigaPixel;762287
I am hoping the Vista drivers work or better yet Win 7 SP1 will find all of the hardware and the only thing I will have to install is the nVidia driver.

The Vista to 7 transition was far better than the 2000->XP or XP->Vista transition for driver compatibility, especially if you took the plunge and installed the 64 bit version.
 
Even if windows doesn't find all the drivers, somewhere like http://www.station-drivers.com/ is a good place to start. I mainly start off by googling for the device id from device manager and the name of the OS. If you're looking for a driver now it's very likely that someone has previously been looking for one as well.
 

Offline stefcep2

  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 1467
    • Show only replies by stefcep2
Re: Tips on moving to Linux?
« Reply #254 on: April 10, 2014, 12:44:21 PM »
Y'know, I ditched Linux once Ubuntu 9.10 ended support, but every now and then I think:"Lets see where its at, now".

And then I see a post like Amigapixel's, and all its starts to come back to me, and I realize its just Crazy Thinking.

Oh and if you want to know why it happened Amigapixel, I'll save you some time.  Man what were you thinking going nutso and installing a video diver like that!

"Its your fault".