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

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

  1. mercado79

    mercado79

    Joined:
    Aug 14, 2008
    Messages:
    127
    Likes Received:
    0
    i'm not sure what the number would be for you. if you run the bootpart command, you'll see something similar to the above image. the number you want is the one that says "type=83 linux native". (number two in the example above).
     
    mercado79, Sep 11, 2008
    #21
  2. mercado79

    friendwilder

    Joined:
    Aug 26, 2008
    Messages:
    18
    Likes Received:
    0
    Thanks for your replies.

    My number is 6, but I am not worried about the number, I am worried about the bin file.

    I can not get it.

    I have put:

    bootpart.exe

    in the cmd window and it lists all the partitions, but the bin file was not created.
     
    friendwilder, Sep 11, 2008
    #22
  3. mercado79

    ericww

    Joined:
    Aug 30, 2008
    Messages:
    23
    Likes Received:
    0
    The .bin file is only created if you do the whole bootpart.exe thing:

    bootpart.exe [list number] [name you wish to give the file].bin [name you wish to have displayed on the NT boot menu]

    Example: bootpart.exe 5 linpus.bin Linpus
     
    ericww, Sep 11, 2008
    #23
  4. mercado79

    friendwilder

    Joined:
    Aug 26, 2008
    Messages:
    18
    Likes Received:
    0
    Thanks for your patience!

    I do not understand some instructions :oops:

    It is done!!

    But after rebooting and choosing Linpus, the screen does not change: It is written something like that:

    Bootpart Winimage.com

    Loading partition

    A name of somebody here

    I waited three minutes and the screen did not change.

    I chose number six from the following window.
    [​IMG]
     
    friendwilder, Sep 11, 2008
    #24
  5. mercado79

    ericww

    Joined:
    Aug 30, 2008
    Messages:
    23
    Likes Received:
    0
    Man, this isn't as simple as I thought it would be....

    My main problem now is that I have that small, annoying little partition (presumably for dead sectors or something) that's a few megabytes as #2. I'm not really sure how to shift it to be last, so for now, I'm working around it.

    Here's my new bootpart list:
    [​IMG]

    I believe I modified the right parts of my grub.conf:
    Code:
    default=0
    timeout=0
    splashimage=(hd0,4)/boot/grub/splash.xpm.gz
    hiddenmenu
    
    title Linpus Linux RCD
    	rootnoverify (hd0,4)
    	kernel /boot/bzImage ro root=LABEL=linpus vga=0x311 splash=silent loglevel=1 console=tty1 quiet nolapic_timer
      	initrd /boot/initrd-splash.img
    I changed the splashimage and rootnoverify to (hd0,4), 4 being the partition number of my Linpus partition.

    Then I went ahead and modified the fstab. This I'm definitely not sure if I did correctly since I made some assumptions:
    Code:
    /dev/sda4          /                  ext2          defaults,noatime        1 1
    none               /dev/pts           devpts        gid=5,mode=620         0 0
    none               /dev/shm           tmpfs         defaults               0 0
    none               /proc              proc          defaults               0 0
    none               /sys               sysfs         defaults               0 0
    #none               /tmp               tmpfs         defaults               0 0
    /dev/sda2          swap               swap         defaults               0 0
    I assumed that the first line and the last line were referring to the partitions of Linpus data and swap partition respectively, so I changed the sda# to whatever the partition numbers were (4 and 2, respectively).

    It still doesn't work, so yeah.

    Help, I need somebody,
    Help,
    I need anybody,
    Help,
    I need someone,
    Help....

    EDIT: So I guess friendwilder is now stuck at the same spot I am.
     
    ericww, Sep 11, 2008
    #25
  6. mercado79

    friendwilder

    Joined:
    Aug 26, 2008
    Messages:
    18
    Likes Received:
    0
    :lol: :lol: :lol:

    Yeaaaahhh! You are right!

    See you soon!
     
    friendwilder, Sep 11, 2008
    #26
  7. mercado79

    friendwilder

    Joined:
    Aug 26, 2008
    Messages:
    18
    Likes Received:
    0
    Is there anybody who had achieved this procedure successfully? :cry:

    Other than mercado79?
     
    friendwilder, Sep 11, 2008
    #27
  8. mercado79

    mercado79

    Joined:
    Aug 14, 2008
    Messages:
    127
    Likes Received:
    0
    you cannot number your partitions based on what bootpart says! it doesn't recognize the actual partition numbers...just generates numbers for its own purposes.

    if you set up your partitions like i did you don't have to edit any files within linpus.

    but, if you are set up differently, i'd suggest booting up from the ubuntu live cd, running partition manager and then jotting down the numbers listed there.

    also, just to be clear. in linux sda1 = (hd0,0).... sda5 = (hd0,4). grub.conf uses the hd0... version. fstab uses sda...version.
     
    mercado79, Sep 11, 2008
    #28
  9. mercado79

    ericww

    Joined:
    Aug 30, 2008
    Messages:
    23
    Likes Received:
    0
    Well, I redid my filesystem and here's the gparted screenshot:

    [​IMG]

    According to the diagram on your site, this is correct, with the linux swap and ext2 being sda5 and sda6 respectively. Still stuck at the loading partition screen.
     
    ericww, Sep 11, 2008
    #29
  10. mercado79

    mrchiggles

    Joined:
    Sep 1, 2008
    Messages:
    5
    Likes Received:
    0
    Thanks Mercado for your work. I too am stuck in the same situation as others, have restored the partition, edited the bootsector but get stuck when it tries to load when I choose the linplus option. I too chose the primary linux type 83 partition within bootpart and had the same thing...should we be going for the Xint13 extended one above it?
     
    mrchiggles, Sep 11, 2008
    #30
  11. mercado79

    mercado79

    Joined:
    Aug 14, 2008
    Messages:
    127
    Likes Received:
    0
    eric, i'm not sure what to tell you. i'd make sure that grub.conf and fstab are right. let me show you everything i have on my end.

    my bootpart screen (i chose 4 by typing c:/bootpa26/bootpart 4 linpus.bin Linpus).

    [​IMG]

    remember, bootpart and any bin files you create with it cannot be on your c drive in a location that has a space in the path / name.
    eg. c:\boot part\linpus.bin BAD
    c:\bootpart\linpus.bin GOOD

    here's my c:\boot.ini file (these entries are added by bootpart directly not typed by me):

    Code:
    [boot loader]
    timeout=7
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP" /noexecute=optin /fastdetect
    C:\bootpa26\linpus.bin="Linpus"
    C:\bootpa26\ubuntu.bin="Ubuntu"
    here's /boot/grub/grub.conf:

    Code:
    default=0
    timeout=0
    splashimage=(hd0,5)/boot/grub/splash.xpm.gz
    hiddenmenu
    
    title Linpus Linux RCD
    	rootnoverify (hd0,5)
    	kernel /boot/bzImage ro root=LABEL=linpus vga=0x311 splash=silent loglevel=1 console=tty1 quiet nolapic_timer nolapic_timer
      	initrd /boot/initrd-splash.img
    here's my /etc/fstab:

    Code:
    /dev/sda6          /                  ext2          defaults,noatime        1 1
    none               /dev/pts           devpts        gid=5,mode=620         0 0
    none               /dev/shm           tmpfs         defaults               0 0
    none               /proc              proc          defaults               0 0
    none               /sys               sysfs         defaults               0 0
    #none               /tmp               tmpfs         defaults               0 0
    /dev/sda5          swap               swap         defaults               0 0
    i hope this helps you sort out the problems you're running into.

    oh, and yes... i've gotten some feedback from others where they tell me they got this running on their system. it is possible, promise! :)
     
    mercado79, Sep 11, 2008
    #31
  12. mercado79

    friendwilder

    Joined:
    Aug 26, 2008
    Messages:
    18
    Likes Received:
    0
    :oops: Sorry,

    But I do not understand yet what is happening.

    Do you think that keeping the original recovery partition is creating some conflict?

    This is my boot.ini file

    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
    C:\bootpa26\linpus.bin="Linpus"


    Where I can get the others, fstab and grub?
     
    friendwilder, Sep 11, 2008
    #32
  13. mercado79

    mercado79

    Joined:
    Aug 14, 2008
    Messages:
    127
    Likes Received:
    0
    if you install the ifs utility you'll be able to read and write to/from the linpus partition from within windows.

    http://www.fs-driver.org/download.html

    once you setup access to linpus, grub.conf is found here:

    /boot/grub/grub.conf

    fstab (this is a file, not a directory even though it doesn't have a file extension)

    /etc/fstab

    also, did you boot up using a bootable linux cd and verify that you have the partition numbers down right? if you could post that image, that might help sort this out.

    lastly, if you tried reinstalling grub... you might have messed up the current setup on the linpus partition. just a thought.
     
    mercado79, Sep 11, 2008
    #33
  14. mercado79

    friendwilder

    Joined:
    Aug 26, 2008
    Messages:
    18
    Likes Received:
    0
    Thanks for your precious time!

    Here are the images:

    [​IMG]
    [​IMG]
    [​IMG]

    I found only that nolapic_timer is twice in your grub, and once in the mine, that is the difference.
     
    friendwilder, Sep 12, 2008
    #34
  15. mercado79

    mercado79

    Joined:
    Aug 14, 2008
    Messages:
    127
    Likes Received:
    0
    i guess it might be the fact that you kept the recovery partition and added others... though that doesn't make sense to me at all. how do you feel about trying to re-run grub setup? if you can get your hands on a fedora live cd, that would work best.

    or... someone else mentioned using WinGRUB. maybe that would do the trick. it looks similar to bootpart in that it only installs itself within windows thereby making it much much safer than writing a boot record to the mbr (master boot record).

    it does seem like if bootpart didn't work, maybe WinGRUB wouldn't either, but i don't know for sure.

    if you want to try reinstalling / repairing GRUB, I've added a guide on my site:

    http://lifeisasketch.com/node/12

    WARNING:
    Do not use Ubuntu's grub tool on Linpus. Use a Fedora live cd. Though they both work the same, Ubuntu uses a menu.lst file while Fedora / Linpus use grub.conf file.
     
    mercado79, Sep 12, 2008
    #35
  16. mercado79

    acer123

    Joined:
    Sep 6, 2008
    Messages:
    4
    Likes Received:
    0
    hi,

    im running xp and wanna dual boot linpus. what tool would you recommend to create the partitions?
     
    acer123, Sep 12, 2008
    #36
  17. mercado79

    ericww

    Joined:
    Aug 30, 2008
    Messages:
    23
    Likes Received:
    0
    I used Symantec Partition Magic, because gparted from the Ubuntu Live USB didn't work for me. That may be where my problems lie....
     
    ericww, Sep 12, 2008
    #37
  18. mercado79

    sgtslwilson

    Joined:
    Aug 26, 2008
    Messages:
    61
    Likes Received:
    0
    Hi, me again.

    I simply cannot get this to work. I'm going to install and try wingrub and if that doesn't work, I'm done. Right now I have Linpus on my 120gb machine and I have to tell you, I like it.

    Here's mud in your eye.

    sgtslwilson

    PS. btw, After trying to boot from a USB last night my AAO bricked. Thank god for this forum. Got complete instructions on how to re-flash the bios. Worked like a charm. I wish I would have known this before bringing my other 2 back to Best Buy. haha
     
    sgtslwilson, Sep 12, 2008
    #38
  19. mercado79

    mercado79

    Joined:
    Aug 14, 2008
    Messages:
    127
    Likes Received:
    0
    i used acronis disk director... worked like a charm. also used ubuntu's partition manager (gparted). it wouldn't resize the partitions until, i right clicked on the drive and chose "unmount". i think that's how i got it to work!

    also, as for the acer bricking... this has happened to me several times, often after booting from a usb flash linux-based tool (like superGRUB). when your done using it and try to shutdown or restart, the system seems to get stuck. very odd and frustrating! it is likely a bios firmware bug.

    here's the thread sgtslwilson was referring to:

    viewtopic.php?f=24&t=903&st=0&sk=t&sd=a&start=60

    and here's where the solution was posted:

    http://macles.blogspot.com/2008/08/acer ... overy.html

    ***UPDATE***
    Apparently a new bios firmware is expected soon which will fix this issue:

    http://macles.blogspot.com/2008/08/acer ... v3304.html
     
    mercado79, Sep 12, 2008
    #39
  20. mercado79

    friendwilder

    Joined:
    Aug 26, 2008
    Messages:
    18
    Likes Received:
    0
    Me rindo!!

    Lo tendre en la mira, pero por el momento me rindo

    I will keep track of the possibility of installing Linpus but for this moment, ME RINDO
     
    friendwilder, Sep 12, 2008
    #40
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.