Dual Boot Windows/Linpus using Backup Image (Download Here)

Discussion in 'Modding and Customization' started by mercado79, Sep 8, 2008.

  1. mercado79

    cpaumelle

    Joined:
    Sep 11, 2008
    Messages:
    3
    Likes Received:
    0
    I've followed all the steps and I'm struggling with the GRUB side of things. Here's where I got to:

    1. Installed XP on a 90 GB partition
    2. started Ubuntu with a Live CD and setup all the partitions/swap as recommended
    3. installed Ubuntu on the sd7 ext3 partition, I now have a fully functional dual-boot with GRUB offering various flavours of Ubuntu and XP at the bottom
    4. I decompressed your Linpus archive onto the sd6 ext2 partition from within XP

    now I believe I should have a tri-boot system but I'm not sure how to add the Linpus into my GRUB (I've tried WinGRUB but that's not very self-explanatory). Can you help please? I think I'm really close but not quite there yet and it's drivig me insane !!! Plain english for newbies please :)
     
    cpaumelle, Sep 16, 2008
    #61
  2. mercado79

    plwweasel

    Joined:
    Aug 26, 2008
    Messages:
    9
    Likes Received:
    0
    I have set up tri-boot successfully with Win XP, Linpus and Ubuntu. Here are the steps I took:
    I installed Win XP (or you can use your existing XP install on the 150) Just have to re-size.
    I re-sized my windows partition, using either Ubuntu Live CD or some other partition manager (Paragon in my case). to 50G and I created a 1.5G Swap and used the rest of the space to create a logical partion that I devided between Linpus and Ubuntu. 20G for Linpus and the rest for Ubuntu. Then I formatted the Linpus partition as ext2 and Ubuntu partition as ext3. Be sure that both Linpus and Ubuntu partitions are under your logical extended partition. Here is a screen shot of my partitions http://philwiltux.blogspot.com/.
    Now you are ready to install the Linpus image as instructed in this forum. I installed Ubuntu and it autimatically recognized my Win XP and Linpus installations.

    that's it and good luck.

    philwil
     
    plwweasel, Sep 17, 2008
    #62
  3. mercado79

    mercado79

    Joined:
    Aug 14, 2008
    Messages:
    127
    Likes Received:
    0
    when you say that you "decompressed" the linpus image, what exactly do you mean? did you run macrium reflect and restore the file? you should extract the file to your windows partition, run macrium reflect, choose the empty linpus partition from within the application, let it restore the linpus system (takes a few minutes). then, from within Ubuntu, edit your grub file (/boot/grub/menu.lst) to include the linpus partition.

    here's my ubuntu menu.lst file for you to use

    Code:
    ## ## End Default Options ##
    
    title		Ubuntu 8.04.1, kernel 2.6.24-19-generic
    root		(hd0,6)
    kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=cf57003e-ed4f-443c-a8bd-cb9e27cb2106 ro quiet splash
    initrd		/boot/initrd.img-2.6.24-19-generic
    quiet
    
    title		Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
    root		(hd0,6)
    kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=cf57003e-ed4f-443c-a8bd-cb9e27cb2106 ro single
    initrd		/boot/initrd.img-2.6.24-19-generic
    
    title		Ubuntu 8.04.1, memtest86+
    root		(hd0,6)
    kernel		/boot/memtest86+.bin
    quiet
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    
    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title		Other operating systems:
    root
    
    title Windows XP
    rootnoverify (hd0,0)
    makeactive
    chainloader +1
    
    
    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda6.
    title		Linpus Linux RCD (on /dev/sda6)
    root		(hd0,5)
    kernel		/boot/bzImage ro root=LABEL=linpus vga=0x311 splash=silent loglevel=1 console=tty1 quiet nolapic_timer 
    initrd		/boot/initrd-splash.img
    savedefault
    boot
    
     
    mercado79, Sep 17, 2008
    #63
  4. mercado79

    cpaumelle

    Joined:
    Sep 11, 2008
    Messages:
    3
    Likes Received:
    0
    Perfect. Exactly what I needed !!!

    All working and huge thanks to you for a great support

    Charles
     
    cpaumelle, Sep 17, 2008
    #64
  5. mercado79

    onlineaddy

    Joined:
    Sep 9, 2008
    Messages:
    103
    Likes Received:
    0
    Is the swap partition necessary if you've upgraded your AA1 to 1.5 GB of RAM?
     
    onlineaddy, Sep 17, 2008
    #65
  6. mercado79

    mercado79

    Joined:
    Aug 14, 2008
    Messages:
    127
    Likes Received:
    0
    i guess it depends how you're using the os. if you plan on having a lot of programs open concurrently then, you should keep some swap space. if not, then i guess it's safe to disable it (especially since linpus is quite lightweight as it is). then again, what's 1 gb in the grand scheme of things. i chose this model over the linux 8gb ssd model specifically due to its large (for a netbook) hard drive.

    here's some more info i came across:

    All about Linux swap space
    http://www.linux.com/feature/121916
     
    mercado79, Sep 18, 2008
    #66
  7. mercado79

    plwweasel

    Joined:
    Aug 26, 2008
    Messages:
    9
    Likes Received:
    0
    I have successfully installed win xp, Linpus and Ubuntu. I created 20G partition for Linpus but notice that in Linpus, I only see an ext2 4G partition. If I look at partitions using gparted on Ubuntu, it shows the ext2 partition as 20G. Any ideas? I need more space!

    thanks,
    philwil
     
    plwweasel, Sep 20, 2008
    #67
  8. mercado79

    davexz

    Joined:
    Sep 23, 2008
    Messages:
    15
    Likes Received:
    0
    Congrats on creating and thanks for sharing such an elegant solution. May I assume that you started with the Windows XP version and added the two Linux boots? Would it be possible to create a 16gb dual boot (XP and Linpus) usb stick? I have a 8gb AA1 with 16gb storage expansion and I am assuming that the 8gb won't be big enough for XP, which probably won't merge the storage expansion with the 8gb.
     
    davexz, Sep 23, 2008
    #68
  9. mercado79

    mercado79

    Joined:
    Aug 14, 2008
    Messages:
    127
    Likes Received:
    0
    thanks dave! glad you like the image option!

    i did create the image as you described, windows xp first and then created the linux partitions afterwards. actually, since then i've overwritten the ubuntu partition with vista business. not bad... the damn wireless keeps disappearing though which is odd since i have already upgraded to the latest bios which stopped this from happening in windows and linpus. what a pain.

    but... i digress. i assume that you'd be able to install xp and linpus onto an sd card or flash drive. in fact, i did install windows onto a sd card last year when i bought my first "netbook", the original asus eee pc. the speed wasn't too too bad, but the process did take some work.

    that being said, i'm not sure i can give you much help doing this with the acer one. sounds like a great project. i'm sure there are posts in the forums for setting something like this up.

    also, i do think that xp would install onto the 8gb drive no problem. the install shouldn't take up more than about 3gb or so if you're careful. it'd be tight though to be sure.

    good luck with the project!
     
    mercado79, Sep 24, 2008
    #69
  10. mercado79

    king.kork

    Joined:
    Sep 24, 2008
    Messages:
    1
    Likes Received:
    0
    I must be acting like a real newb here - I'm very slightly familiar with Ubuntu and haven't used Windows in some time outside of work. Just picked up a 120gb AA1 with XP and want to put on Linpus and Ubuntu as the op did.

    I'm booting from a Hardy Live CD and trying to partition drives. Currently - it's set up:
    /dev/sda
    /dev/sda1 fat32 5239MB
    /dev/sda2 ntfs 114792MB

    For the life of me I can't figure out how to make my partitions match what's on the OP's web page? If I create a new partition table on sda it doesn't give me an option to format sda1 as ntfs. Can someone help me out?? I've only ever installed Ubuntu with the automatic Live CD where you just drag the slider. In this case I need another.

    Thanks!
     
    king.kork, Sep 24, 2008
    #70
  11. mercado79

    mercado79

    Joined:
    Aug 14, 2008
    Messages:
    127
    Likes Received:
    0
    Two things you might want to try...

    First, attempt to unmount the drive from within gparted. That usually frees up the drive and allows for additional options.

    Second, did you try shrinking the drive to add the new partitions to the end of the drive? Remember, the partitions I created were not primary ones. I shrunk down the Primary partition(s) and created a new extended partition after it. Then created three logical paritions, a swap partition, an ext2 partition and an ext3 partition.
     
    mercado79, Sep 24, 2008
    #71
  12. mercado79

    encaputxat

    Joined:
    Aug 28, 2008
    Messages:
    29
    Likes Received:
    0
    it's posible to mount the image? I have deleted the /boot folder... of linpus
     
    encaputxat, Sep 24, 2008
    #72
  13. mercado79

    mercado79

    Joined:
    Aug 14, 2008
    Messages:
    127
    Likes Received:
    0
    when using macrium reflect on windows, there's an option to mount the image as a drive. once you do that, you should be able to browse through the files.

    i'm not sure, but i did want to point out that i have that ifs ext2 driver installed so... if you are able to mount the image, but windows has problems reading the linux files, you might want to try installing those drivers.
     
    mercado79, Sep 25, 2008
    #73
  14. mercado79

    XE1UFO

    Joined:
    Sep 8, 2008
    Messages:
    24
    Likes Received:
    0
    Re: CANNOT MOUNT LINPUS IMAGE TO SDHC CARD!!

    I am trying to do this on my WindowsXP 120-Gigs version:

    1. I started up with a Live GParted Linux disk, and resized the drive as follows:
    --4.88 GB = Factory WinXP restore partition (left untouched)
    --85.53 GB = WinXP installation
    --1.49 GB = Linux SWAP file
    --21.4 GB = EXT3 for UBUNTU install

    2. I installed the EXT2/3 driver for Windows.

    3. Then I formatted an 8-GB SDHC memory card to EXT2 that I wish to use to install (restore) the Linpus image to, but am not able to, no matter what I do. Macrium Reflect only shows me the internal hard drive. I tried the card in both the left- and right-hand slots to no avail. I also tried an 8-GB USB memory stick. Same problem. Even if I mount the partition image as a drive, it will not allow me a copy beyond the first few files.

    I still have NOT installed Ubuntu.

    HELP!! Thanks in advance!!

    Dr. Steve, central old Mexico
     
    XE1UFO, Sep 26, 2008
    #74
  15. mercado79

    tnt

    Joined:
    Sep 30, 2008
    Messages:
    3
    Likes Received:
    0
    Finally got it to work, have to use WINGRUB as bootpart doesnt work for me. Thx
     
    tnt, Sep 30, 2008
    #75
  16. mercado79

    loweb1

    Joined:
    Sep 15, 2008
    Messages:
    5
    Likes Received:
    0
    Thank you mercado for providing the image and the instructions!

    I just used it on my 160 gig AAO. Bootpart didn't work for me even though I had my partitions set up just like you, only without the Ubuntu one. But I was able to eventually get WinGrub to work. I think all the stuff that acer123 had to go through a couple of pages ago just threw me off.

    I copied over the four files from the /boot/ directory of linpus and renamed the grub.conf file to menu.lst, I'm pretty sure now that I didn't even need to copy anything but grub.conf since I ended up leaving it pointing to all the files on the ext2 partition.

    Anyway, I appreciate you making the image available. I love how fast linpus boots up!
     
    loweb1, Oct 1, 2008
    #76
  17. mercado79

    mercado79

    Joined:
    Aug 14, 2008
    Messages:
    127
    Likes Received:
    0
    I'm really glad that this has helped you all. Too bad you're having problems with my instructions. If anyone wants to post an updated howto guide to using WinGRUB and copying the grub files, I'd gladly update my documentation. Whatever works best!
     
    mercado79, Oct 1, 2008
    #77
  18. mercado79

    dbman19

    Joined:
    Oct 3, 2008
    Messages:
    1
    Likes Received:
    0
    Hey - Hope this is the right place to ask this

    I have Linspire one my Aspire One

    Could I create another partition and install XP on that and have to option do dual boot??
     
    dbman19, Oct 3, 2008
    #78
  19. mercado79

    techtoyman

    Joined:
    Aug 28, 2008
    Messages:
    3
    Likes Received:
    0
    It would be great if someone could post an updated how-to - I did everything as originally posted, except I have the extra partition for the original restore and I can't get bootpart to work. It boots into Windows Ok, but If I choose Linpus, it just sits there. I need some help on how to tweak what I have or perhaps use Wingrub. Please help.

    Joel
     
    techtoyman, Oct 6, 2008
    #79
  20. mercado79

    tnt

    Joined:
    Sep 30, 2008
    Messages:
    3
    Likes Received:
    0
    Here is what I did using Wingrub (just replace the bootpart step, all earlier step follow mercado's guide)
    I copy 4 file to a folder called Grub in C:
    bzImage
    grub.conf
    initrd-splash.img
    splash.xmp.gz

    and rename grub.conf to menu.lst

    Go to Wingrub --->Tools ---> Install grub. Choose boot fron boot.ini then install grub.
    Next thing is go to Tools--->Partition list to see the name of Linux partition (in my case that is (hd0,5))
    then edit menu.lst file to point splashimage, rootnoverify and sda (partition name +1)
    Code:
    default=0
    
    timeout=0
    splashimage=(hd0,0)/grub/splash.xpm.gz
    
    hiddenmenu
    
    title 
    Linpus Linux RCD
    
    	rootnoverify (hd0,0)
    	
    	kernel /grub/bzImage ro root=/dev/sda6 console=tty1
    	initrd /grub/initrd-splash.img
    
    
    After reboot, boot.ini should show linpus boot options then you go.
    Hope this help
     
    tnt, Oct 6, 2008
    #80
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.