Jump to content











Photo
- - - - -

Multibooting "winxp,7,10,android,mint" how do i add ubuntu


  • Please log in to reply
10 replies to this topic

#1 SH00TaNOOBaDAY

SH00TaNOOBaDAY
  • Members
  • 4 posts
  •  
    United States

Posted 26 March 2016 - 07:54 AM

Multibooting
***So if someone knows how to get it this way or even if they have a diffrent way to do this "as long as i get it as a bootable option through windows boot loader as its own entry
and not shareing athe same grub screen that another OS is useing aretty THATS WHAT I WORKING ON"***

*****the whole point is to have all os's able to multiboot all through windows boot loader as there own entry on windows boot loader******
i currently multiboot win xp, 7, 10 Android, linux mint
i want to add "UBUNTU 14.04 LTS"    USEING    "GRUB 4 DOS 0.4.5C, if possible its a grub that's  in easyBCD"
 
UBUNTU is bootable useing "GRUB2WIN aka GNUGRUB" with this code below
set params ubuntu
 
title Ubuntu
linux /vmlinuz root=/dev/sdd1 quiet nomodeset
initrd /initrd.img
 

but on grub 4 dos 0.4.5c for whatever reasion the above code its not bootable
my machine​ disk system and whats installed where in windows disk management looks like this

drive #   /partition                                              /partition                                             /partition
-----------------------------------------------------------------------------------
disk 0 /par1 windows xp                                    /par2 android x86 4.4r2                     /par3 windows 7
disk 1 /par1 system reserved for win10             /par2 windows 10                              /par3 storage space
disk 2 /par1 linix mint "idk/idr version"
disk 3 /par 1 Ubuntu 14.04 LTS
 
 
grubs and OS's and what boots what
windows bootloader well comes on windows since forever or atleast since XP and vista so all my win os's are aretty listed
"mint" added to windows bootloader useing "Grub 2 for Windows" = "grub2win"
"android" added to windows bootloader useing "easyBCD's linux grub 2"
NOW I WANT TO ADD UBUNTU alsoabootable as a single bootable entry on windows bootloader not to be shared with another OS

because i use Splashtop Streamer on all the OS's except android and with ireboot.exe installed to all 3 windows os's ill be able to reboot my machine from one os to another remotely
so that im able too not need to be sitting at my PC to manuly select the OS's from the grub but i can just tell the machine to reboot to another of when and if i choose and then be
able to remotely control the rebooted machine *well excludeing android* because ill be useing a Android tablet to remote control the machine if i need a android why control a android
from a .... waite for it a... from another android lol           "ironic dont ya think"

 
I HAIL TO THE PC CODE GODS I NEED YOUR HELP
WHO WILL SAVE MY DAY



#2 SH00TaNOOBaDAY

SH00TaNOOBaDAY
  • Members
  • 4 posts
  •  
    United States

Posted 26 March 2016 - 07:56 AM

I don't care if its from windows bootloader to a grub as long as I can change the time out to 0 or 1 but needs to be a bootable entry byitself on windows bootloader



#3 steve6375

steve6375

    Platinum Member

  • Developer
  • 6557 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 26 March 2016 - 08:45 AM

try

 

timeout 1

 

title Ubuntu

find --set-root /vmlinuz

linux /vmlinuz root=/dev/sdd1 quiet nomodeset
initrd /initrd.img

 

 

This assumes there is only one \vmlinuz file in your system. If there are more, place a tag file on the Ubuntu partition and use

find --set-root /Ubuntu.tag instead.



#4 SH00TaNOOBaDAY

SH00TaNOOBaDAY
  • Members
  • 4 posts
  •  
    United States

Posted 26 March 2016 - 02:17 PM

thanks I will give that a shot in just a moment and I will post the outcome after a bit​

 

try

 

timeout 1

 

title Ubuntu

find --set-root /vmlinuz

linux /vmlinuz root=/dev/sdd1 quiet nomodeset
initrd /initrd.img

 

 

This assumes there is only one \vmlinuz file in your system. If there are more, place a tag file on the Ubuntu partition and use

find --set-root /Ubuntu.tag instead.

 



#5 SH00TaNOOBaDAY

SH00TaNOOBaDAY
  • Members
  • 4 posts
  •  
    United States

Posted 29 March 2016 - 03:16 AM

try

 

timeout 1

 

title Ubuntu

find --set-root /vmlinuz

linux /vmlinuz root=/dev/sdd1 quiet nomodeset
initrd /initrd.img

 

 

This assumes there is only one \vmlinuz file in your system. If there are more, place a tag file on the Ubuntu partition and use

find --set-root /Ubuntu.tag instead.

 

                                         I'm 6os's installed none live multibooting​ all from windows boot loader/manager

 

 

alright so the code above is not a bootable Linux from windows on a secondary or + harddrive "BUT HOWEVER"  it was darn close

after I tried that I did a little looking around and desided to

drop the harddrive that had mint installed and made a 4th partition on disk one and installed mint there and

 

 

disk 1​​

1st par

android x86 4.4 r2

2nd par

win 10 enterprise

3rd par

win xp home prem

4th par mint​​​​​

 

disk 2

Not Partitioned

Ubuntu​ 14.04

 

what I did differently with getting them to windows boot loader was

 

I ended up using 2 grub 4 dos like programs for windows

easybcd

Grub 2 for windows aka grub2win​    -  "this works on XP,VISTA NOTHING NEWER"

 

first the formatting

disk 1 par 1 and par 5 both /EXT3

disk one par 2,3,4 all NTFS

and disk 2 with no partitions /EXT3

/=bootable

 

D#P# = disk#partition#

 

1st install was Win Xp on  D1p4

fallowed by

android x86 on    d1p1

after that I probly dident need to but used easyBCD to re write the MBR back to Win XP

installed grub2win and added only android to it and set timeout to 0

 

"I quickly MODDED MY XP BOOT SCREEN BEFORE MOVEING ON"

 

moveing on to the 3rd was win 7 on d1p3

and 4 the was win 10 was on disk 1 par 2

 

and last install on disk 1 was Linux mint

"NOTE I PUT MINT AND THE BOOTLOADER FOR MINT BOTH ON Disk1 par 5"

 

I unplugged the disk one drive and pluged in drive 2

went to bios to inshure the disk needed to be set to boot or not "was aretty selected"

 

ok so last os I installed Ubuntu to d10

 

now I have 1 Linux and 3 win os's bootable on windows boot loader

 

this is where I needed easyBCD the most

added a entry from Linux systems grub 2 and selected mints d1p5

this made a 5th bootable os from win bootloader "but only because it was installed in a partition after the win boot partition its bootable to mints grub

no problem went and changed mints time out to 01 "i never see the mint grub it don't load fastenoph"

 

ok now I'm getting getty and feeling nerdy lol

 

and finally adding the last os

using easyBCD add entry with the Neo Grub option that happens to be GRUB 4 DOS 0.4.5C

so the very last line of code below will be the code I used to get that to boot to Ubuntu on disk 2

after a lot of reading and research I found this   ​

 

title (hd0,4)
root (hd0,4)
kernel /vmlinuz root=UUID=5827fd40-9b04-4f8a-bb0f-df1612670d89 ro
initrd /initrd.img

 

I changed the title to Ubuntu and root to (hd1,0) or it might of been (hd1,1) but I'm shure it was (hd1,0) but NOT BOOTING YET "BUT I HAD A GOOD IDEA WHY AND WAS CORRECT"

 

I used a usb boot loader grub AUTO SUPER GRUB 2 DISK installed on a USB booted it and selected auto detect operateing systems "NOT THE EXZACT TITLE BUT SOMETHING ALONG THOES LINES"

in the auto super grub 2 disk a now have all 6 showing but int not my boot device and did not want it to be I only needed information and I used it to obtain it

 the Linux Ubuntu GUID I took the GUID and in the code above replaced the UUID with the identifing number with the GUID's but left it it as root=UUID

this was the magic I was looking for so my fully working code for MY INSTALLATION YOURS CHANCES ARE WILL BE A DIFRENT UUID/GUID IDENTIFIER so if you use the code below beshure to replace the UUID and the root device to what your is or it will not work and agin I used the fallowing code on grub 4 dos 0.4.5c

 

title Ubuntu
root (hd1,0)
kernel /vmlinuz root=UUID=cf977cfc-afde-434d-9e2a-4440a3bf7310 ro
initrd /initrd.img

 

now all six operateing systems are all bootable and all entrys on windows boot loader

win xp

win 7

win 10

android x86 4.4r2

Linux mint

and

Ubuntu

 

and I went and set the other grubs I used to multi boot and set there timeouts to = 0 or 01

 

when I'm booting at least 2 of the fake me out and I think my PC's rebooting because I see the message no signal found on my screen but like a reboot its just a second ot few when selecting mint and I think it was XP and then your no signal message goes away and your booting in to the os

 

"IM GOING TO RECORD A VIDEO AND UPLOAD IT TO YOUTUBE once I have I will come back to post the link to it

and in the said soon to record video I am going to boot up in real time no edit of the video eatch os and by selecting it from windows boot loader" I will login and restart to boot the next entry in the winboot loader

 so if your anyone is trying to boot multi window's and multi Linux's on one machine and all from one screen watch the soon to be posted videp

 

but I would really like to thank 2 people "steve6375" and "IMC ComradCCP a.k.a  IMC H1R3DR3B3L" both of you were of help and I I thank you for takeing your time to post to my thread  and for your knowledge

steve6375 posted on www.reboot.pro

and IMC ComradCCP aka IMC H1R3DR3B3L posted on www.multibooters.co.uk

thanks guys you made my day no better you made my week​

 

                                                                   I'm 6os's installed none live multibooting​

 

 

 

 

now I ramble on a message to be seen by many on

 

LOOK WHAT I CAN DO

MAD TV : Stewert

 

my purpose of multibooting "one I'm always pushing to learn something new and Ive been on pc's for well over 25 years"​ ive done mods and hacks built batch's website's and I know thing like how to Ping the crap or DDOS a router and disconnect someone all I need is 1 to 3 seconds in a multiplayer game, a chat room, any way of getting information from there system to mine it would be traced and that gives the information needed to do so

BUT IM NO BOOTER FOR SPORT I LEARNED HOW TO BECAUSE A TIME OR TWO IT WAS DONE TO ME AND I WANTED TO KNOW HOW MOSTLY FOR PEOPLE BOOTING FOR NO REASION OTHER THEN THERE RUDE SELFISH AND THEY SHOULDENT be booting to begin with and so I am one that will not hesitate to fight fire with fire

 

 

" all is fair inogration and innovation as long as you messing with friends and not a corperation , just know its not a compition nor a sport but I bite back I bring ill eat an operation with 1 spork"

 

a proud supporter of

Anonymous​

 

have you got your mask yet ​


Edited by SH00TaNOOBaDAY, 29 March 2016 - 03:41 AM.


#6 mesugovic

mesugovic
  • Members
  • 5 posts
  •  
    Austria

Posted 11 April 2016 - 07:04 PM

on ubuntu i use grub2 ...

 

pretty easy ...

title		Chainload into GRUB 2 - linux partition - 2a1b6fd7-4e7d-49c1-8811-6d8538217633
uuid		2a1b6fd7-4e7d-49c1-8811-6d8538217633
kernel		/boot/grub/core.img



#7 steve6375

steve6375

    Platinum Member

  • Developer
  • 6557 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 11 April 2016 - 07:22 PM

in grub4dos-speak

title Ubuntu \n Boot to Ubuntu on 2nd disk
root (hd1,0)
uuid () > nul
set UUID=%?%
kernel /vmlinuz root=UUID=%UUID% ro
initrd /initrd.img


#8 mesugovic

mesugovic
  • Members
  • 5 posts
  •  
    Austria

Posted 12 April 2016 - 01:25 PM

root (hd1,0)  ... mean, u need to know which disk number

 

on my motherboard asus m5a78lxxx even if is all previosly saved in bios [sata hdd was (hd0)]

if i conenct another (s/ata) hdd then s/ata hdd become (hd0) and original sata which was (hd0) become (hd1) without changing bios manualy ... and so on

 

becose of that i use uuid method to set root hdd/partition, doesnt matter which hd number in moment is and uuid find allways right partition

 

so if someone dont want use cascade (grub2 menu), in grub4dos-speak should this look like so

title Ubuntu \n Boot to Ubuntu on Xnd disk (uuid 2a1b6fd7-4e7d-49c1-8811-6d8538217633)
set UUID=2a1b6fd7-4e7d-49c1-8811-6d8538217633
uuid %UUID%
kernel /vmlinuz root=UUID=%UUID% ro
initrd /initrd.img


#9 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 13478 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 12 April 2016 - 01:40 PM

Not really, if you already calculated the UUID of the volume, that should be more like:

title Ubuntu \n Boot to Ubuntu on Xnd disk (uuid BE7621D276218BE9)
set UUID=BE7621D276218
find --set-root uuid ()  %UUID%
kernel /vmlinuz root=UUID=%UUID% ro
initrd /initrd.img

First line assigns the UUID value to variable UUID, second line finds the volume and sets root to it.

 

BUT, to use grub4dos (or a compatible program) to calculate the UUID as there are different "types" of UUID's (so long "unique" ;)) around, example:
http://reboot.pro/topic/7457-uuid/

your example seems the "wrong" type of UUID, see also:
http://reboot.pro/to...d-in-this-code/

 

:duff:

Wonko



#10 steve6375

steve6375

    Platinum Member

  • Developer
  • 6557 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 12 April 2016 - 04:52 PM

 

root (hd1,0)  ... mean, u need to know which disk number

 

on my motherboard asus m5a78lxxx even if is all previosly saved in bios [sata hdd was (hd0)]

if i conenct another (s/ata) hdd then s/ata hdd become (hd0) and original sata which was (hd0) become (hd1) without changing bios manualy ... and so on

 

becose of that i use uuid method to set root hdd/partition, doesnt matter which hd number in moment is and uuid find allways right partition

 

so if someone dont want use cascade (grub2 menu), in grub4dos-speak should this look like so

title Ubuntu \n Boot to Ubuntu on Xnd disk (uuid 2a1b6fd7-4e7d-49c1-8811-6d8538217633)
set UUID=2a1b6fd7-4e7d-49c1-8811-6d8538217633
uuid %UUID%
kernel /vmlinuz root=UUID=%UUID% ro
initrd /initrd.img

 

yes, 

uuid %UUID%

will set the root to the partition that has that uuid

Attached Thumbnails

  • Captureuuid.PNG


#11 mesugovic

mesugovic
  • Members
  • 5 posts
  •  
    Austria

Posted 13 April 2016 - 01:40 AM

find --set-root uuid ()  %UUID%

 

is same result as

uuid %UUID%

but as u see my code is smaller and clearer

 

they are many way to get right uuid from partitions

1. grub4dos (command uuid)

2. open linux ubuntu patrition /boot/grub/grub.cfg, find uuid and use (copy/paste)

3. blkid.exe in windows (from cygwin)

4. ... ???

5. for linux/ubuntu is there fine script to get info of all connected media

Boot Info Script is a bash script which searches all hard drives attached to the computer for information related to booting. Its primary use is for troubleshooting booting problems. For instructions see: http://bootinfoscript.sourceforge.net

 

 

normaly i plug daily many hdd im my pc, but i dont do daily exact backup from ubuntu and let mounted original and copy after reboot pluged in my pc ... so i dont have any problems whith dobled uuid's,

but daily i have problems whith (hd0), (hd1), (hd2), ...they aren't in same whish order


Edited by mesugovic, 13 April 2016 - 01:50 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users