NotebookForums.com › Forums › Notebook Manufacturers › Dell Forums › Dell Notebooks - General › [Dell with MediaDirect] XOSL Bootloader, Hardware dual boot made easy
New Posts  All Forums:Forum Nav:

[Dell with MediaDirect] XOSL Bootloader, Hardware dual boot made easy

post #1 of 16
Thread Starter 
Hi everyone !

Dell laptops come with a second power up button that start a light Windows version aimed for multimedia viewing (MediaDirect). I've always wanted to be able to choose which OS to boot when the MediaDirect button is used.

There's already solutions to this, but they don't allow us to boot from a logical partition, and they aren't very "user friendly".

So I decided to tweak my favorite graphical bootloader to add the possibility to assign a different OS to each powerup button. I've also add an option to be able to hide it completely so you're laptop will boot as if XOSL wasn't there.

Another thing about XOSL, which I think it's a good point, it's that it's independant from any OS, and it will install on its own partition, which of course can be logical. Only few MBs are needed (I use 23Mb).

So here's the steps to install the custom XOSL on your Dell :

1 - First, you will need to make some room for XOSL on your hard drive. Use your preferred partition software (I use Gparted LiveCD), and make a small partition (can be logical) for XOSL. I gave him 23Mb. It's not necessary to format.

2 - Burn the ISO and boot with the CD (the link is in the bottom of the post)

3 - Press Enter when it says so

4 - Choose XOSL V1.1.5 (it's the only choice anyway)

5 - Choose "Boot no UMB (ultra-defensive)", then keep on hitting Enter on every question until you reach this screen :



6 - Press any key. Choose Install and follow the steps. Install on a dedicated partition. Don't forget to choose the partition you prepared before for XOSL.

7 - Once installed, you will be able to reboot. Once it's done, you will see the interface of XOSL :



8 - Click on "Setup", the click on "Add". Another window will show up. Here you will add an entry for each OS you have :



Choose the OS partition, name it, then click "Apply" and repeat this for all your OS

9 - There are 2 checkboxes in the General tab you should notice :

Default boot item : the OS that have this checkbox checked will be booted by default when the main powerup button is used

MD button boot item : the OS that have this checkbox checked will be booted by default when the alternative (MediaDirect) powerup button is used.

Choose now the powerup button configuration you want and enjoy

Link to download XOSL4DELL :
http://rapidshare.com/files/223048195/xosl..._by_kasaweb.rar


Few more things :
- There's an option called "Hiding" that can be usefull to isolate Windows installations.
- To make XOSL completely invisible when booting a OS affected to a powerup button, on the main window click on "preference", then "Misc" tab, then check "Show GUI only when Alt is pressed". As it says, if checked, XOSL interface will only be shown when you maintain the Alt button pressed during booting.
- If you use Linux, make sure to install its bootloader (GRUB, LILO, ...) in the OS partition instead of MBR.
- This method works with my XPS M1530, but it should work with every Dell, at least the ones that come with MediaDirect 3.0 and above.
- IMPORTANT : if the mbr is altered due to the installation of another OS, reboot with XOSL4DELL CD and in Step 6, choose "Restore" instead of "Install"
post #2 of 16
Well when people have posted guides using grub, they never specified that grub wasn't on its own partition. I imagine there are many free bootloaders that will do this but I suppose this is more user-friendly to install. Although it looks like you have to manually click each OS entry on the list instead of just using the arrows. Is this the case?
post #3 of 16
Thread Starter 
nop, you can still use arrows.
The other boot loader don't know when the laptop is powerup using the main or the MD button, this the part I customized. It's not just the "user-friendly" part of it, I believe there's no other way that offer such flexibility.
post #4 of 16
You assign the media direct button to boot windows (you can tell media direct button to boot any partition).

You assign the power button to boot grub (with timeout 0).

This is just one example.
post #5 of 16
Thread Starter 
you have to run rmbr.exe everytime you want to change the default boot, and it has to be done from within an OS.

it's just a matter of convenience. whether you want to use a bootloader that properly recognize the MediaDirect powerup system and offer many options with a nice GUI, or you want to keep using a tricky method. It's up to you
post #6 of 16
Sorry, I thought your second post said there was no other way, not that there was no other flexible way. Still though, two bootloaders offers just as much flexibility imo. Anyway, don't want to threadcrap on you so you can just tell me when to stop. Have any clue whether its possible to remap FN+power button to something other than the diagnostic partition?
post #7 of 16
Thread Starter 
I think the FN+power is handled by the bios directly, unlike the MD button which is handled by the mbr, so it's unlikely to be remappable
post #8 of 16
Thread Starter 
up
post #9 of 16
hi mate i just downloaded this and it works no probs.

just interested to see what the best way to partition / install is?

can i remove every partition bar 3?

1. vista / win 7
2. xp (from md home button)
3. 23mb for xosl

and i presume i install vista 1st, then xp, then finally xosl?
post #10 of 16
Thread Starter 
Quote:
Originally Posted by Chrisoldinho View Post
hi mate i just downloaded this and it works no probs.

just interested to see what the best way to partition / install is?

can i remove every partition bar 3?

1. vista / win 7
2. xp (from md home button)
3. 23mb for xosl

and i presume i install vista 1st, then xp, then finally xosl?
Personally, I prefer to seperate data from the OS and its applications. So my partitions look mainly like :

1. Win7
2. XP
3. Other OSes
4. Data
5. XOSL (23mb or even less)

The advantage of this method is that I can keep the data pretty independent from any OS, so it gives more freedom when formatting and stuff.

When choosing this scheme, the best thing to do is to isolate the different Windows installations. This can be done by 'hidding' other windows's partitions. Example :

You want to install vista and xp.

1. First you prepare all the partitions (with GParted or any partitioning software)
2. Use that partitioning soft to (hide XP partitions) and (unhide Vista's one and mark it as bootable).
3. Install Vista and test it
4. Again use the partitionning soft to (hide Vista's partition) and (unhide XP's one and mark it as bootable).
5. Install XP and test it.
6. Install XOSL and configure the hidding accordingly (ie hide xp when booting vista and vice versa). Marking them as bootable isn't necessary.


Hope I helped you to clarify the process a bit
post #11 of 16
Quote:
Originally Posted by kasaweb View Post
Personally, I prefer to seperate data from the OS and its applications. So my partitions look mainly like :

1. Win7
2. XP
3. Other OSes
4. Data
5. XOSL (23mb or even less)

The advantage of this method is that I can keep the data pretty independent from any OS, so it gives more freedom when formatting and stuff.

When choosing this scheme, the best thing to do is to isolate the different Windows installations. This can be done by 'hidding' other windows's partitions. Example :

You want to install vista and xp.

1. First you prepare all the partitions (with GParted or any partitioning software)
2. Use that partitioning soft to (hide XP partitions) and (unhide Vista's one and mark it as bootable).
3. Install Vista and test it
4. Again use the partitionning soft to (hide Vista's partition) and (unhide XP's one and mark it as bootable).
5. Install XP and test it.
6. Install XOSL and configure the hidding accordingly (ie hide xp when booting vista and vice versa). Marking them as bootable isn't necessary.


Hope I helped you to clarify the process a bit
Hello, thanks for the response, I can see your logic when it comes to Partitioning etc, is there a specific reason you hide the other OS - does it help the other one boot and stop it from running into issues or is it just to keep things neat?

I was tinkering around with it all last night actually (prior to reading your instructions ) and got a bit stuck, basically here was my problem...

I install XP no problem to Partition 2, then I install Windows 7 to Partition 1 as it will add it's MBR instead of XP's boot.ini/NTLDR this way. Tested, all OK (made a backup of XP's boot prior to installing Windows 7 - boot.ini/NTLDR/ntdetect).

Next I install XOSL to Partition 3. The problem then is that when I try and boot either OS XOSL seems to have replaced the MBR of Windows 7 and I presume when I install Windows 7 it kills the boot.ini/NTLDR of XP, so neither OS will actually boot. I can repair Windows 7 using the installation CD "repair" function easily however I cannot get XP to boot no matter what, even after copying across the backup versions of the files I made in XP.

Any ideas?

I was thinking of installing XOSL first, then XP, then Windows 7 and then restoring the XOSL bootloader to see if it worked this way round?
post #12 of 16
it still wont work. i have windows 7 on partition and xp on partition 2. i am going to try your gparted method and see if isolating the installs from seeing one another and flagging them both as bootable as you suggest works.

no doubt i will have more questions shortly, it's a bloody lot of effort just for xp on the md button!
post #13 of 16
Thread Starter 
I'm very positive that isolating windows's installations by hidding partitions will work for you. Don't forget to mark the target partition as bootable before installing.

Microsoft is very messy with the boot process when it detects multiple instances of windows. I prefer that each OS minds his own business and leave the main boot process to an independant app (XOSL in our case)
post #14 of 16
Quote:
Originally Posted by kasaweb View Post
I'm very positive that isolating windows's installations by hidding partitions will work for you. Don't forget to mark the target partition as bootable before installing.

Microsoft is very messy with the boot process when it detects multiple instances of windows. I prefer that each OS minds his own business and leave the main boot process to an independant app (XOSL in our case)
Right last night I used GParted.

I created the following....Partition 1 was already taken up with "Dell Utility" at 47MB (EISA).

60GB Windows 7 - Partition 2 - Primary
25GB Windows XP - Partition 3 - Extended Logical
60GB Data - Partition 4 - Logical
23MB XOSL - Partition 5 - Logical

I installed Windows 7 by hiding XP and marking Windows 7 as bootable. Tested all OK, next I marked XP as bootable and unhid it, I then hid Windows 7. Installed XP no problem at all. When I tested both installations I couldn't see the hidden paritition which is was a good sign!

I then installed XOSL, and setup the Boot configuration I wanted. XP boots fine from the MD button . Windows 7 however won't boot, I get an error message BOOTMGR missing. I tried using the Windows 7 repair tool on the DVD via it's auto repair function and command prompt without success .

Now what should I do? I don't want to have to install it all AGAIN but I can't see what else I can try doing? I presume the issue is with XOSL overwriting the BOOTMGR on Windows 7, the odd thing is the Partition was hidden at the time so XOSL surely wouldn't of been able to write to it (I definately selected the 23MB partition aswell!).

I'm seriously considering just using Media Direct now then doing my usual registry additions to give me a fully functional XP Embedded now (like an XP Lite essentially) as i've spent nearly 1 week in the evenings trying to find out a way to get this to work....I feel like i'm really close to getting it going but then so far at the same time!

Chris.
post #15 of 16
Thread Starter 
When you restored the boot manager of Seven, the XP partition was hidden ?
post #16 of 16
Quote:
Originally Posted by kasaweb View Post
When you restored the boot manager of Seven, the XP partition was hidden ?
It wouldn't let me restore the partition on Windows 7. I can't recall if XP was hidden at this point.

The whole thing is just so confusing and complicated I get lost with all the swapping discs etc.

Thanks very much for all of your help. I have decided with regret just to go back to Dell Media Direct, and hack out the Media Direct part giving me a fully functional XP behind this, albeit without Windows Update, this is something I think i'll just have to live with as I must have reformatted my PC 10 times in 1 week now trying to get this to work.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Dell Notebooks - General
NotebookForums.com › Forums › Notebook Manufacturers › Dell Forums › Dell Notebooks - General › [Dell with MediaDirect] XOSL Bootloader, Hardware dual boot made easy