Jump to content

script for dual boot option


Recommended Posts

I make my harddisk in 3 partitions. first in 3,1 Gb (T:), second in 40 (C:), and third (D:) is the rest. I want to make a backup recovery that I put in first partition, my OS in second partition dan the third partition is for data. I used ghost to backup my C: and put it in T:. then I use grub4dos, I put it in T: (Grub.exe, grldr and menu.lst. but then I don't know how to edit the menu.lst so that i can choose whether to go to OS or to restore the data back to C:. somebody help me! Thank You.

Link to comment
Share on other sites


that's non-active partition, but it works. i mean the grub4dos runs from that partition. i just can't edit the menu.lst to make me enable to choose between OS and the restored data. o yeah, i installed win xp3 home in c:. i have read the guides, but i am still so confused to do something better.

Link to comment
Share on other sites

Not sure you're taking it the right way putting your boot files on the non active partition. What's the OS on C: ? (backup is less than 3 Gig?). Maybe read the first pages of this tutorial?

Do you see in your crystal ball that "T:" is a non-active partition? :w00t: (as this piece of info is amissing in the OP) :whistle:

@ibrohimholidmuhammad

Maybe if you tell us what the goal is (as opposed to how you think you can reach it) we may provide some easier options, BTW this has nothing to do with programming AND the supprt board for grub4dos is this one:

http://reboot.pro/forum/66/

You should FIRST thing read the guide (if the scope is to learn about grub4dos syntax):

http://reboot.pro/5187/

http://diddy.boot-land.net/grub4dos/Grub4dos.htm

OR, you may make use of this (if the scope is having a recovery partition - not necessarily using grub4dos):

http://reboot.pro/15623/

jaclaz

Link to comment
Share on other sites

i tried to use mbldr, but i lose my T: and D:

Unfortunately i don't backup my mbr.

when i run my laptop, i just found C: partition. :wacko::blink:

help me, please!

Unless you did something very very wrong :ph34r: while attempting to install mbldr, it won't "lose" your partitions :), more probably you set them as "hidden" :whistle: .

Check what you see in Disk Management.

You most probably only need to unhide them.

A suitable tool (running from Windows) is MBRWIZ:

http://mbrwizard.com/

or you can use any disk editor and directly change the partition ID in the MBR.

Or you can re-run the MBRLDR installer, this time making all partitions visible.

In any case, TESTDISK should be able to find again the "lost partitions" (should their entries have been deleted from the partition table, which as said I doubt)

jaclaz

Link to comment
Share on other sites

i tried to use mbldr, but i lose my T: and D:

Unfortunately i don't backup my mbr.

when i run my laptop, i just found C: partition. :wacko:

help me, please!

Unless you did something very very wrong :ph34r: while attempting to install mbldr, it won't "lose" your partitions :), more probably you set them as "hidden" :whistle: .

:wacko: :wacko:

1. in Available Partition, I chose my T: and C:

2. I chose F1, F2 for the key.

3. I hit the Save to MBR button.

--- Werethey wrong!? :(

I also couldn't find any button to hide and unhide partition.

post-336750-0-90912400-1320888522_thumb.

Link to comment
Share on other sites

What do you think the checked checkbox in second image marked "Hide other Partitions at boot time" is supposed to do? (I mean if not hiding other partitions at boot time? ;))

Re-install/re-configure MBLDR UNchecking that box.

What happens?

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

  • 3 weeks later...

I am sorry :blushing::D to mr. jaclaz for being too late to come back to this forum.

I was sick and let my work undone for long time. i used ptedit and set all the table to zero (after using any number from the list i got vailed). thanks. i did it.

here what i did:

i use my first partition as C: with Windows Home OS; the second partition is for T: and i put ghost.ima, my C: backup using ghost. I also install GRUB4DOS at T: and put my grub and menu.lst in it. it works fine. So when the first boot, in 3 second I can choose between entering the OS or using the ghost backup.

:angel Mr. jaclaz thank you for your help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...