Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14
(warning: long post) Well... here we go again. I decided to do some testing this weekend. My current slave HD has 40GB (it will be replaced by that 120GB one), ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Nov 2006
    Location
    Brazilian highlands
    Posts
    5

    (warning: long post)


    Well... here we go again.

    I decided to do some testing this weekend. My current slave HD has 40GB (it will be replaced by that 120GB one), it only had about hdb1 = 38GB for Ubuntu 6.06 and hdb2 = 2GB for Swap. This partitioning was made by the Ubuntu installer.

    My RAM memory is of 1GB (was 0.5GB until a few days ago). My master HD was (until hours ago...) of 80GB FAT32 formated with Windows XP on it.

    OK... I take a Live-CD and do some mess... Aproximate figures for new partition table:

    hdb1 = 9GB ext3 for files
    hdb5 = 1GB swap (yes, I don't even need this much)
    hdb6 = 10GB reiserfs
    hdb7 = 10GB ext3
    hdb8 = 10GB ext3

    OK, let's boot again. Zenwalk 4.0 CD on the drive, install it to hdb6. I let it install LILO on the MBR (master boot record), since it doesn't offer GRUB as an alternative. No problem with this. Install went fine, LILO automaticaly recognized Windows on hda1.

    Found Zenwalk to be very, very fast and without fussy or choosy things. Very good to my taste. And having a very small repository means a nice oportunity to learn how to install stuff "by hand", although it brings Xfce and basic stuff with it, but only the minimum needed. It also lacks some GUIs for configuring stuff, so I also have the oportunity to learn configure my system a harder (and better!) way.

    OK, back to life.

    Ubuntu 6.06 live-CD on the drive, let's boot it up and install on hdb7. Fine, all went well, GRUB is back again and it recognized both Windows and Zenwalk (he called it Slackware, though... well... it IS Slack anyway!), but I thought... I installed the wrong distro. I realy wanted to install Kubuntu 6.10 on hdb7, but put the wrong stuff to load and didn't realy care about it.

    OK, so let's install Kubuntu 6.10. On to hdb7, of course. It went well... But I booted later and... Hey, where is Windows on GRUB's menu? Kubuntu is here, Zenwalk ("Slackware") also. OK, I can fix /boot/grub/menu.lst without a problem. Let's boot Kubuntu, mount hda1... it's EMPTY. oops... seems I formated it by mistake during the partition choosing for Kubuntu. This is: when you install Kubuntu (or any other *buntu) and manualy choose the partitions, you can check the partitions to be mounted if they will be formated or not. I must have accidentaly checked hda1 for formatting...

    OK, no big deal. My personal files were backed up, so I didn't lose any important stuff. The Windows and softwares I can install again, and I realy am not using Windows for other stuff than playing: Linux is for everything else lately. But... let's reinstall Windows!

    Pick WinXP disc, let's boot from it... No, it doesn't. Yes, booting from CD is turned on, the CD is intact also, but it doesn't boot. So, searching around, I saw that it won't boot if GRUB is on the MBR. I have to "restore" the MBR before being able to boot the WinXP disc. Yes, there are a lot of ways to do it, I know.

    But now I plan to use the whole "new" HD of 80GB to finaly do the mess I want to do. Will repartition it, etc. I will reinstall Windows XP to the slave drive, then reinstall it AGAIN when the 120GB HD comes up.

    With this experience, I see I could live without a separate /boot partition. Now, just two questions:

    (1) Is there any problem to allocate hda1 for swap, or it "cannot" be the first partition?

    (2) Best way to install WinXP to hdb1 after I have at least one Linux distro running on hda?

    I may even run Windows inside Linux via VMware or so, but... I need to know about (2) so I can get to know the alternatives.

    Thank you, specialy for the patience!

  2. #12
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    (1) Is there any problem to allocate hda1 for swap, or it "cannot" be the first partition?
    you can assign SWAP space in any partition/drive.

    (2) Best way to install WinXP to hdb1 after I have at least one Linux distro running on hda?
    Unplug Linux disk ( hda ), plug-in Windows disk as Primary and install it. un-plug Windows Disk. Plug-in Linux Disk as Primary Master and Windows disk as Slave. Edit /boot/grub/grub.conf ( or menu.lst ) and device.map files and add an entry for Windows.
    check this link.






    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #13
    Just Joined!
    Join Date
    Nov 2006
    Location
    Brazilian highlands
    Posts
    5
    Well, I decided against doing that, and reinstalled WinXP to an NTFS-formated hda1, then rebuilt GRUB and it works all fine now.

    Thank you very much for the help, guys! I'm still doing some experiences here, and it's not that "dark" as I thought it would all be.

  4. #14
    Linux Newbie
    Join Date
    Jul 2005
    Posts
    180
    With this discussion I wanted to chime in and say that I consider a boot partition a waste of time. Too many distros customize their kernels, I can't think of any reason why it would be easier to have them coexistence in one partition unless you prefer using lilo over grub. Okay I guess can think of one reason, but anyway... a home partition is not a waste, it guarantees that you can upgrade, and switch distros without losing your stuff.

    Swap partition can be small, I have 1.5 GB of physical ram and my swap partition is never ever used. I used to go by the 2:1 ratio until I realized that I was wasting room on my hd.

    I triple boot windows and two linux OSs. I go for

    /dev/hda1 Windows Recovery (primary) (5 gigs)
    /dev/hda2 Windows (primary) (70 gigs-- mostly for games)
    /dev/hda3 Linux / (primary) (10 gigs)
    /dev/hda4 Extended
    /dev/hda5 swap (1 gig)
    /dev/hda6 Linux / (10 gigs)
    /dev/hda7 /home

    I used to also have a fat32 partition for swapping between windows and linux, but ug it's so archaic, and since I'm in a habit of backing up my data on cd and dvd anyway I really didn't need it.

    Looks like I'm not alone in liking that scheme. So I just pick one linux to have grub and install to the mbr. If I have a Debian or Ubuntu type OS it's them because they autodetect all the OSs correctly, and I just move menu.lst files around when I do something different. It's not hard to write an entry for a missing OS in grub anyway, it's just four lines just mount and look at the boot directory and you'll know what to write.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •