Ubuntu-Kubuntu- for really-dummies...FAT32 isn't working!
Posted: Mon May 09, 2005 9:11 am
Hello all,
Warning! This is write for a really newbie in the topic, I just thought that might help others that want to tray linux. So for those who are very knowledge about it, please receive my apologies, and make any comments as you want!
I have one important question: I cannot write anything from Kubuntu (linux) into the FAT32 HD partition. Sure I can from windows, but I need this working in order to share data between the two. PLESE HELP IN HERE!!!!
I decided that right after finishing graduate thesis, I'd partially migrate to Linux. Looking here and there for distros (for really newbies like me, this means that there're out there a bunch of Linux distributions) finally I chose Ubuntu, which seems to be the "easier" one. Moreover, I discovered Kubuntu, and after reading a little bit of both, and looking screenshoots of how they'd look like, I made up for Kubuntu. Here's the steeps I did so far. There're some tweeks that need to be done, but for now, this is working partially good.
1. Google and read information about Linux, distros, and possible difficulties you may have. Info about distros, partitions, kernels, etc...Learned a lot from others who made the change already.
2. I wanted to keep XP running (wife
), so it had to be a double-booting.
3. Defrag your HD before, this way I believe you can "reorganize" some space you may need in the future.
4. Make a complete back-up of all your files. Use RR IBM (rescue and recovery) utility or something else, like northon Ghost.
5. Get disk utilities as much as you can, e.i., Recovery Cd's from IBM (I ordered them a week after I received T42, just saying..." I bought a great Thinkpad T42, and I want my Recovery Cd's in case 'some day' I need them..."), boot and restart utilities, etc.
6. If you want to keep XP running and make space for Linux, you need to partition your HD (I'd call this 'having small HDs inside your main HD'
). Therefore, you might need a partition tool. I’d strongly suggest getting one: buy it, borrow it from a friend. Some of the free demos outside don’t work as you need. If you want only to have Linux, you don’t need to worry about partitioning before installing it, you can do it during its installation.
7. Since I want XP and dual-booting, I used Partition Commander to create various partitions. At this point, you might or might not want to keep the IBM_Predesktop area. I decided that since some of the very hard work has passed, and I’ve the recovery CDs, I want to have that HD space back. So, when using Partition Commander I delete this partition to get back the 4GB of HD space.
8. Now, partition is not a very difficult task, but it can get tricky! Programs like Partition Commander, Partition Magic, or Acronis Disk have a graphical interface (GUI) that helps a lot when you are a new, no experienced buddy in this. Basically what you need is to make space for your already windows running, and space for linux. That’s the whole deal. There is some important info here that one has to take into account. When installing a linux distro, you might have to install something called GRUB or LILO, which, as my little knowledge, are need it to boot into linux. Because IBM RR changes something in the MBR (master boot record) and you maybe want to keep using IBM RR, you might not want to install neither GRUB nor LILO in the MBR. Instead, you can create one small 50MB partition and make it boot-able, meaning that you can boot (‘start’) your OS (operation systems –windows and linux-) from there. This way you are also preventing to get screwed by the BIOS 1024 cylinder limit http://www.tldp.org/HOWTO/Large-Disk-HOWTO-4.html#ss4.2 As we said, you need space for both OS. Having windows running, you want to shrink it in your HD to a certain size to make space for linux. I leave it in 15GB. Now, you make more partitions for Linux and also, very important, one partition to share data between windows and linux. This is how my HD looks now, from the beginning of the HD to the end:
50MB for the bootable partition
15GB for windows
7GB for kubuntu
1GB for linux swap
rest GB for data share
That’s a total of 5 partitions. You can have primary and extended partitions. I read somewhere that would be better if you have all your partitions as primary. What I didn’t know was that you can only do 4 primary partitions in your HD (I truly don’t know why). So that was one problem for a while, but then I figured out that Linux can be in an extended partition, and that you can create extended partitions inside one primary partition. Also, it is important to know that windows and linux need a different format of the HD to function. Windows is currently working in NFTS (after you turn on our laptop, it converts from FAT32 to NFTS) and linux work in EXT2 or EXT3. You format each partition as you need, and to share data, you make that partition a FAT32, which windows and linux can see and work with. Therefore, I partition the HD this way
50 MB (hd0,1) bootable partition as primary
15 GB (hd0, 0) windows partition as primary (NFTS)
8 GB as primary partition
7 GB extended partition for linux (EXT 3)
1 GB extended partition for linux swap (EXT 3)
rest GB as primary partition for data share (FAT32)
When doing you partitioning, it’s very important to write down the numbers of your partitions, because latter on, when installing linux, and GRUB, you need to tell him that you want it in the 50MB bootable partition. In my case, I have the 50 MB as (hd0,1).
9. Reboot windows to check that everything is in order. Now, you might want to start with the kubuntu (linux) installation.
10. Make sure your BIOS is set to boot from CD. Insert the Kubuntu CD, and restart the machine. Follow the instructions, which are text-based, but really easy to follow. During the installation you will get to a section on partitioning. DO NOT repartition the whole drive, you'll lose your windows xp. Instead, follow the manual partitioning instructions to do the following:
a. Make the second (50MB) partition bootable, and set to mount as "/boot".
b. Set up the first extended partition as the linux partition and mount as “/”
c. The second extended partition as linux swap partition.
d. Mount the fifth partition as "/datashare" or something similar, and format as FAT32
10. Proceed with the installation as normal until you get to the GRUB part. _DO NOT INSTALL GRUB IN the MBR. When you say no, GRUB will request to be installed in a bootable partition. Luckily, you have one, the 50MB partition. Now you need those partition numbers. The GRUB installer uses some odd (for Windows users) codes to refer to them. In my case I used “(hd0,1)”. Continue with the rest of installation. It will eject the CD at one point and tell you that it will restart. The machine will boot into GRUB and will ask you to select the OS. Select Kubuntu, and it will finish the installation. At the end, you will have Kubuntu asking you about the username and password, and then you are in!!! Congrats!!!
11. Play a little bit if you want with Linux, then reboot and hopefully you will be prompt again after reboot, into GRUB, which will ask you if you want to go Kubuntu or Windows. Select Windows to check that everything is working. If you can get into windows and kubuntu, you are good, if not, there extra steps you might need.
12. If you need extra steps to set up to boot into XP by default, follow this link: http://www.geocities.com/epark/linux/gr ... HOWTO.html from step # 3.
As I’m working in Kubuntu, I’ll be updating. I’ve to test wireless, IBM buttons, etc.
Thank you all,
K.
Warning! This is write for a really newbie in the topic, I just thought that might help others that want to tray linux. So for those who are very knowledge about it, please receive my apologies, and make any comments as you want!
I have one important question: I cannot write anything from Kubuntu (linux) into the FAT32 HD partition. Sure I can from windows, but I need this working in order to share data between the two. PLESE HELP IN HERE!!!!
I decided that right after finishing graduate thesis, I'd partially migrate to Linux. Looking here and there for distros (for really newbies like me, this means that there're out there a bunch of Linux distributions) finally I chose Ubuntu, which seems to be the "easier" one. Moreover, I discovered Kubuntu, and after reading a little bit of both, and looking screenshoots of how they'd look like, I made up for Kubuntu. Here's the steeps I did so far. There're some tweeks that need to be done, but for now, this is working partially good.
1. Google and read information about Linux, distros, and possible difficulties you may have. Info about distros, partitions, kernels, etc...Learned a lot from others who made the change already.
2. I wanted to keep XP running (wife
3. Defrag your HD before, this way I believe you can "reorganize" some space you may need in the future.
4. Make a complete back-up of all your files. Use RR IBM (rescue and recovery) utility or something else, like northon Ghost.
5. Get disk utilities as much as you can, e.i., Recovery Cd's from IBM (I ordered them a week after I received T42, just saying..." I bought a great Thinkpad T42, and I want my Recovery Cd's in case 'some day' I need them..."), boot and restart utilities, etc.
6. If you want to keep XP running and make space for Linux, you need to partition your HD (I'd call this 'having small HDs inside your main HD'
7. Since I want XP and dual-booting, I used Partition Commander to create various partitions. At this point, you might or might not want to keep the IBM_Predesktop area. I decided that since some of the very hard work has passed, and I’ve the recovery CDs, I want to have that HD space back. So, when using Partition Commander I delete this partition to get back the 4GB of HD space.
8. Now, partition is not a very difficult task, but it can get tricky! Programs like Partition Commander, Partition Magic, or Acronis Disk have a graphical interface (GUI) that helps a lot when you are a new, no experienced buddy in this. Basically what you need is to make space for your already windows running, and space for linux. That’s the whole deal. There is some important info here that one has to take into account. When installing a linux distro, you might have to install something called GRUB or LILO, which, as my little knowledge, are need it to boot into linux. Because IBM RR changes something in the MBR (master boot record) and you maybe want to keep using IBM RR, you might not want to install neither GRUB nor LILO in the MBR. Instead, you can create one small 50MB partition and make it boot-able, meaning that you can boot (‘start’) your OS (operation systems –windows and linux-) from there. This way you are also preventing to get screwed by the BIOS 1024 cylinder limit http://www.tldp.org/HOWTO/Large-Disk-HOWTO-4.html#ss4.2 As we said, you need space for both OS. Having windows running, you want to shrink it in your HD to a certain size to make space for linux. I leave it in 15GB. Now, you make more partitions for Linux and also, very important, one partition to share data between windows and linux. This is how my HD looks now, from the beginning of the HD to the end:
50MB for the bootable partition
15GB for windows
7GB for kubuntu
1GB for linux swap
rest GB for data share
That’s a total of 5 partitions. You can have primary and extended partitions. I read somewhere that would be better if you have all your partitions as primary. What I didn’t know was that you can only do 4 primary partitions in your HD (I truly don’t know why). So that was one problem for a while, but then I figured out that Linux can be in an extended partition, and that you can create extended partitions inside one primary partition. Also, it is important to know that windows and linux need a different format of the HD to function. Windows is currently working in NFTS (after you turn on our laptop, it converts from FAT32 to NFTS) and linux work in EXT2 or EXT3. You format each partition as you need, and to share data, you make that partition a FAT32, which windows and linux can see and work with. Therefore, I partition the HD this way
50 MB (hd0,1) bootable partition as primary
15 GB (hd0, 0) windows partition as primary (NFTS)
8 GB as primary partition
7 GB extended partition for linux (EXT 3)
1 GB extended partition for linux swap (EXT 3)
rest GB as primary partition for data share (FAT32)
When doing you partitioning, it’s very important to write down the numbers of your partitions, because latter on, when installing linux, and GRUB, you need to tell him that you want it in the 50MB bootable partition. In my case, I have the 50 MB as (hd0,1).
9. Reboot windows to check that everything is in order. Now, you might want to start with the kubuntu (linux) installation.
10. Make sure your BIOS is set to boot from CD. Insert the Kubuntu CD, and restart the machine. Follow the instructions, which are text-based, but really easy to follow. During the installation you will get to a section on partitioning. DO NOT repartition the whole drive, you'll lose your windows xp. Instead, follow the manual partitioning instructions to do the following:
a. Make the second (50MB) partition bootable, and set to mount as "/boot".
b. Set up the first extended partition as the linux partition and mount as “/”
c. The second extended partition as linux swap partition.
d. Mount the fifth partition as "/datashare" or something similar, and format as FAT32
10. Proceed with the installation as normal until you get to the GRUB part. _DO NOT INSTALL GRUB IN the MBR. When you say no, GRUB will request to be installed in a bootable partition. Luckily, you have one, the 50MB partition. Now you need those partition numbers. The GRUB installer uses some odd (for Windows users) codes to refer to them. In my case I used “(hd0,1)”. Continue with the rest of installation. It will eject the CD at one point and tell you that it will restart. The machine will boot into GRUB and will ask you to select the OS. Select Kubuntu, and it will finish the installation. At the end, you will have Kubuntu asking you about the username and password, and then you are in!!! Congrats!!!
11. Play a little bit if you want with Linux, then reboot and hopefully you will be prompt again after reboot, into GRUB, which will ask you if you want to go Kubuntu or Windows. Select Windows to check that everything is working. If you can get into windows and kubuntu, you are good, if not, there extra steps you might need.
12. If you need extra steps to set up to boot into XP by default, follow this link: http://www.geocities.com/epark/linux/gr ... HOWTO.html from step # 3.
As I’m working in Kubuntu, I’ll be updating. I’ve to test wireless, IBM buttons, etc.
Thank you all,
K.