Jump to content

Problem Booting The First Harddrive


jtan2000
 Share

Recommended Posts

I have tried the following command but it does not work all the time.

title boot the first harddrive

rootnoverify (hd1)

chainloader +1

For example the following commands works for different pc / laptop

but not interchangable.

Is there a better way to code it for all type of situation ?

title Boot from Hard Drive

#for PC os in partition 1

rootnoverify (hd1,0)

map (hd0) (hd1)

map (hd1) (hd0)

chainloader +1

#for asus laptop with recovery partition in 1, os in partition 2

rootnoverify (hd1,1)

map (hd0) (hd1)

map (hd1) (hd0)

# dell laptop laptop with recovery partition in 1, os in partition 2

rootnoverify (hd1,1)

chainloader +1

Please help and thank you.

Link to comment
Share on other sites

After serveral testing the following seem to work

on both usb or cd multiboot.

Also in situation that the first partition is recovery and os on second partition.

title Boot first HDD

map (hd0) (hd1) || map (hd0) (hd0)

map (hd1) (hd0) || map (hd0) (hd0)

map --hook

chainloader (hd0)+1

rootnoverify (hd0,1) && rootnoverify (hd0,0)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

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