I want to give Linux a shot
- JS Lemming
- Insane DCEmu
- Posts: 202
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Mon Apr 04, 2005 8:08 am
- Location: C:\CON\CON
- Has thanked: 0
- Been thanked: 0
- Contact:
I want to give Linux a shot
One of my family members recently downloaded, unknowingly, a bid deal of viruses and whatnot to my computer. I'm tired of fighting this crap. I plan to rip out my current 40 gig harddrive and put in a fresh 120 gig. I would like to install my old win98 OS and Linux (Ubuntu) so I can duel boot between them.
So, I downloaded the Live CD and have it burned and ready. My question is, when I put my new clean 120 gig harddrive in, what do I do first? Do I install win98 like normal and then install linux after? My goal is to have it where I can boot between the two and have all the files on the harddrive accessible by both OS's. I'm hoping that is possible. I've never had any experience with partitions.
My main use for this will be for developing on the DC. I only assume it will be better in Linux since I'm already using cygwin. Am I wrong? BTW, I've already tried the Live CD and everything works so far that I can tell: sound, video, internet. I like it.
Thanks.
So, I downloaded the Live CD and have it burned and ready. My question is, when I put my new clean 120 gig harddrive in, what do I do first? Do I install win98 like normal and then install linux after? My goal is to have it where I can boot between the two and have all the files on the harddrive accessible by both OS's. I'm hoping that is possible. I've never had any experience with partitions.
My main use for this will be for developing on the DC. I only assume it will be better in Linux since I'm already using cygwin. Am I wrong? BTW, I've already tried the Live CD and everything works so far that I can tell: sound, video, internet. I like it.
Thanks.
- henzenmann
- Insane DCEmu
- Posts: 186
- Joined: Wed Jul 12, 2006 4:58 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
I don't know what the Ubuntu installer looks like (I'm a Debian user myself), but in general, you want to partition the harddisk, and install Windows on the first partition and Ubuntu on the second one (Windows always has to be on the first partition, Linux doesn't care). You should be able to do the partitioning from the Ubuntu installer.
Ubuntu has a lot of newbie-friendly support. Check out http://www.ubuntuforums.org/ and https://wiki.ubuntu.com/Installation
Ubuntu has a lot of newbie-friendly support. Check out http://www.ubuntuforums.org/ and https://wiki.ubuntu.com/Installation
- JS Lemming
- Insane DCEmu
- Posts: 202
- Joined: Mon Apr 04, 2005 8:08 am
- Location: C:\CON\CON
- Has thanked: 0
- Been thanked: 0
- Contact:
- henzenmann
- Insane DCEmu
- Posts: 186
- Joined: Wed Jul 12, 2006 4:58 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
BTW, if you want to keep the 40gig disk, you can also install Windows on the first disk and Linux on the second, no need for partitions then.
Oh, and you can access Windows partitions/disks from Linux (FAT16/32, NTFS too but that takes some extra work and is only relevant with WinNT/2000/XP), but not the other way round. So you would want to keep the data you need to access from both systems on the Windows partition/disk.
Oh, and you can access Windows partitions/disks from Linux (FAT16/32, NTFS too but that takes some extra work and is only relevant with WinNT/2000/XP), but not the other way round. So you would want to keep the data you need to access from both systems on the Windows partition/disk.
- JS Lemming
- Insane DCEmu
- Posts: 202
- Joined: Mon Apr 04, 2005 8:08 am
- Location: C:\CON\CON
- Has thanked: 0
- Been thanked: 0
- Contact:
Let me see if I got this straight. I leave my 40gig disk in and make it a slave. The 40gig disk contains windows98. I no longer plan to reinstal windows98 since I have returned its stability. The 40gig disk is also full to the brim, only about 500mb left.
So now, I insert my 120gig disk as master and install linux on it. I have all that room but windows cannot access it? That stinks. But wait, if I can access the 40gig disk from Linux, I could move all my music and large files over to the 120gig disk right? I now have plenty of room left on the 40gig disk.
So... If I create files in Linux, how would I go about getting them over to the windows side, if ever need be? Would I have to resort to emailing myself or even burning files to a disk?
Is this what you would do (install linux on the 120gig disk and keep my other exactly the way it is now)?
So now, I insert my 120gig disk as master and install linux on it. I have all that room but windows cannot access it? That stinks. But wait, if I can access the 40gig disk from Linux, I could move all my music and large files over to the 120gig disk right? I now have plenty of room left on the 40gig disk.
So... If I create files in Linux, how would I go about getting them over to the windows side, if ever need be? Would I have to resort to emailing myself or even burning files to a disk?
Is this what you would do (install linux on the 120gig disk and keep my other exactly the way it is now)?
- henzenmann
- Insane DCEmu
- Posts: 186
- Joined: Wed Jul 12, 2006 4:58 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
Windows always has to be on the first partition of the first disk (master on the first IDE channel). If you leave Windows on your 40gig disk, you could still partition the 120gig disk, for example make an 80gig FAT32 partition for your "shared" data (this would have to be the first partition on that disk) and a 40gig partition for your Linux installation.
You could also copy your 40gig disk to the 120gig disk, then switch them, make sure Windows still starts correctly from the new disk and then install Linux on the old disk.
You can "mount" your Windows partition under Linux, which means you can access your whole "C:" drive just like a directory. I don't know how Ubuntu or Gnome (the user interface Ubuntu uses) handle this, as I use neither. But I assume that they provide an easy way to do it. If not, you can always set this up yourself if you are not afraid of configuration files![Wink ;-)](./images/smilies/icon_e_wink.gif)
You could also copy your 40gig disk to the 120gig disk, then switch them, make sure Windows still starts correctly from the new disk and then install Linux on the old disk.
You can "mount" your Windows partition under Linux, which means you can access your whole "C:" drive just like a directory. I don't know how Ubuntu or Gnome (the user interface Ubuntu uses) handle this, as I use neither. But I assume that they provide an easy way to do it. If not, you can always set this up yourself if you are not afraid of configuration files
![Wink ;-)](./images/smilies/icon_e_wink.gif)
-
- DC Developer
- Posts: 9951
- Joined: Sun Dec 30, 2001 9:02 am
- Has thanked: 0
- Been thanked: 1 time
FAT32 discs can be fully read / written from Linux, so you can copy your files back and forth without problems.
The best way is simply to put the new drive in, and install Ubuntu onto that (take up the whole drive). It'll install it's bootloader, and automatically add an option into it's boot menu for Windows 98.
For the newest version of Ubuntu (6.06), the Live CD is the install CD. There should be an "Install" icon on the desktop. Double-click that, and follow the prompts to install Ubuntu. You can even continue working while it's installing, and it'll tell you when it's finished so you can restart when you want.
The best way is simply to put the new drive in, and install Ubuntu onto that (take up the whole drive). It'll install it's bootloader, and automatically add an option into it's boot menu for Windows 98.
For the newest version of Ubuntu (6.06), the Live CD is the install CD. There should be an "Install" icon on the desktop. Double-click that, and follow the prompts to install Ubuntu. You can even continue working while it's installing, and it'll tell you when it's finished so you can restart when you want.
- JS Lemming
- Insane DCEmu
- Posts: 202
- Joined: Mon Apr 04, 2005 8:08 am
- Location: C:\CON\CON
- Has thanked: 0
- Been thanked: 0
- Contact:
The B.A. way sounds good. So, using what henzenmann said about windows needing to be on the first drive, I simply insert the 120gig as a slave, install linux on it and I'm set?
Back and forth? So windows will be able to read what's on the 120gig disk too? That would be the best scenario.BlackAura wrote:FAT32 discs can be fully read / written from Linux, so you can copy your files back and forth without problems.
- henzenmann
- Insane DCEmu
- Posts: 186
- Joined: Wed Jul 12, 2006 4:58 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
Yes.JS Lemming wrote:The B.A. way sounds good. So, using what henzenmann said about windows needing to be on the first drive, I simply insert the 120gig as a slave, install linux on it and I'm set?
Windows won't be able to read it. But under Linux you can copy files back to your Windows disk of course.JS Lemming wrote:Back and forth? So windows will be able to read what's on the 120gig disk too? That would be the best scenario.BlackAura wrote:FAT32 discs can be fully read / written from Linux, so you can copy your files back and forth without problems.
- JS Lemming
- Insane DCEmu
- Posts: 202
- Joined: Mon Apr 04, 2005 8:08 am
- Location: C:\CON\CON
- Has thanked: 0
- Been thanked: 0
- Contact:
-
- DCEmu User with No Life
- Posts: 3641
- Joined: Sat Feb 16, 2002 1:55 pm
- Has thanked: 0
- Been thanked: 0
Windows can read and write ext2/3 filesystems with a driver, or for occasional read-only access you can use explore2fs.
"You know, I have a great, wonderful, really original method of teaching antitrust law, and it kept 80 percent of the students awake. They learned things. It was fabulous." -- Justice Stephen Breyer
- JS Lemming
- Insane DCEmu
- Posts: 202
- Joined: Mon Apr 04, 2005 8:08 am
- Location: C:\CON\CON
- Has thanked: 0
- Been thanked: 0
- Contact:
-
- DC Developer
- Posts: 9951
- Joined: Sun Dec 30, 2001 9:02 am
- Has thanked: 0
- Been thanked: 1 time
You could always clone the Windows installation onto the new hard drive. Basically, you install the new hard drive (as slave), copy the contents of the entire drive across to the new one, then remove the old drive and put the new one in as master.
Hang about - I'll just try that in VMWare and see if I can come up with some better instructions.
Hang about - I'll just try that in VMWare and see if I can come up with some better instructions.
- JS Lemming
- Insane DCEmu
- Posts: 202
- Joined: Mon Apr 04, 2005 8:08 am
- Location: C:\CON\CON
- Has thanked: 0
- Been thanked: 0
- Contact:
-
- DC Developer
- Posts: 9951
- Joined: Sun Dec 30, 2001 9:02 am
- Has thanked: 0
- Been thanked: 1 time
Here's the plan...
Set up your hard drives as follows:
IDE 1 Master - New 120GB hard drive
IDE 1 Slave - Old 40GB hard drive
Boot your PC from the Ubuntu LiveCD.
There is a nice graphical partition manager on this CD, but I couldn't get it to copy partitions between drives. So we'll have to use parted, a command-line tool.
There's a nice partition editor on the LiveCD (System -> Administration -> Gnome Partition Editor) but it doesn't seem to want to copy partitions correctly. Open it up anyway, just to check where the partitions are.
The first drive (/dev/hda) should be 120GB, and completely blank.
The second drive (/dev/hdb) should be 40GB, with one partition, and full of stuff.
If that's all in order, close down the partition editor. Go to Applications -> Accessories, and select Terminal.
We're just going to do a bit-exact copy of the whole drive. Type the following command exactly:
That copies the entire contents of your old hard drive, including the partition table and bootsector, onto your new one. It'll take a while. Just don't get the parameters the wrong way around - you'd end up erasing your old hard drive, which is definitely not what you want.
When that's one, shut down the PC. Remove your old drive, and then boot. Windows 98 should start up, although it'll only be able to see 40GB of the drive.
You can use the Gnome Partition Editor on the Ubuntu LiveCD to resize the Windows partition before installing Ubuntu, if you want. When installing Ubuntu, just tell it to use all remaining free space on the drive, and it'll take care of the rest of the partition layout.
Set up your hard drives as follows:
IDE 1 Master - New 120GB hard drive
IDE 1 Slave - Old 40GB hard drive
Boot your PC from the Ubuntu LiveCD.
There is a nice graphical partition manager on this CD, but I couldn't get it to copy partitions between drives. So we'll have to use parted, a command-line tool.
There's a nice partition editor on the LiveCD (System -> Administration -> Gnome Partition Editor) but it doesn't seem to want to copy partitions correctly. Open it up anyway, just to check where the partitions are.
The first drive (/dev/hda) should be 120GB, and completely blank.
The second drive (/dev/hdb) should be 40GB, with one partition, and full of stuff.
If that's all in order, close down the partition editor. Go to Applications -> Accessories, and select Terminal.
We're just going to do a bit-exact copy of the whole drive. Type the following command exactly:
Code: Select all
dd if=/dev/hdb of=/dev/hda bs=1M
When that's one, shut down the PC. Remove your old drive, and then boot. Windows 98 should start up, although it'll only be able to see 40GB of the drive.
You can use the Gnome Partition Editor on the Ubuntu LiveCD to resize the Windows partition before installing Ubuntu, if you want. When installing Ubuntu, just tell it to use all remaining free space on the drive, and it'll take care of the rest of the partition layout.
- JS Lemming
- Insane DCEmu
- Posts: 202
- Joined: Mon Apr 04, 2005 8:08 am
- Location: C:\CON\CON
- Has thanked: 0
- Been thanked: 0
- Contact:
Nice! But I'm a bit confused with the partitioning part. Based on this page, I get the impression I'm supposed to make a shared FAT32, SWAP, and HOME partition. Like this image shows:
![Image](http://www.psychocats.net/ubuntu/images/partitioning4.png)
Or is all that really unnecessary? Or when you said "... and it'll take care of the rest of the partition layout." did you mean it would do that automaticly.
![Image](http://www.psychocats.net/ubuntu/images/partitioning4.png)
Or is all that really unnecessary? Or when you said "... and it'll take care of the rest of the partition layout." did you mean it would do that automaticly.
- JS Lemming
- Insane DCEmu
- Posts: 202
- Joined: Mon Apr 04, 2005 8:08 am
- Location: C:\CON\CON
- Has thanked: 0
- Been thanked: 0
- Contact:
- JS Lemming
- Insane DCEmu
- Posts: 202
- Joined: Mon Apr 04, 2005 8:08 am
- Location: C:\CON\CON
- Has thanked: 0
- Been thanked: 0
- Contact:
Hmmm.....When I got to the step where I was supposed to type that command in the terminal, it at first, said access denied. I then vaguely remember reading somewhere that typing 'sudo' yeilds higher power. So I did, and I thought it was working. So about 3 hours later, I come back and see nothing has happened. The curson was blinking right below what I had just inputed so it seemed like it was waiting for me to input more... I then push the dirrectional keys because I was afraid that pusing a letter would result in doing something... kinda like how pusing 'q' in 'man' stops that. But when I pushed the dirrectional keys, it typed wierd things into the terminal. I now question whether it's doing anything at this point...
My terminal looks like this:
I hope I didn't scew something up by typing sudo...
My terminal looks like this:
Code: Select all
ubuntu@ubuntu:~$ dd if=/dev/hdb of=/dev/hda bs=1M
dd: opening `/dev/hdb': Permission denied
ubuntu@ubuntu:~$ man sudo
Reformatting sudo(8), please wait...
ubuntu@ubuntu:~$ sudo dd if=/dev/hdb of=/dev/hda bs=1M
^[[D^[[C^[[B^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[D^[[D^[[A^[[B^[[B^[[B^[[A