Make usb with linux bootable

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I wanted to create a bootable Linux Lubuntu install on USB flash drive, with persistent state. Apparently, I have messed up the bootloader install: now I have a USB that boots on the particular laptop where it was created, but doesn't boot on other PCs (doesn't show up in the bootable devices list). And the laptop now enters grub console right at boot, when the USB flash drive is not plugged in. It is possible to boot the OEM Windows that's on the laptop's hdd only if I select the appropriate boot device in the bios menu.
That problem with pc entering grub console at boot is a separate problem that I think I know how to fix. However, I'd like to fix that usb flash drive now.
There's a /boot directory on the Lubuntu flash drive, with grub config in /boot/grub/grub.cfg where I can recognize the grub menu items that are displayed when the laptop boots up with flash drive plugged in. So, apparently the bootloader is installed on the laptop's hdd, and the bootloader points to the grub config that's on the flash drive.
If I do $ file -s /dev/sdb, I get
/dev/sdb: DOS/MBR boot sector; partition 1 : ID=0x83, start-CHS
(0x0,32,33), end-CHS (0x3ff,254,63), startsector 2048, 31083985
sectors; partition 2 : ID=0x5, start-CHS (0x3ff,254,63), end-CHS
(0x3ff,254,63), startsector 31088638, 219586562 sectors
I am not sure this is expected response if the usb is not bootable.
My question is how I can now make the flash drive bootable, without disturbing its contents? And how I make it load the flash drive's grub config file when the pc is booted from it. I wonder also if the grub menu item commands should be adjusted so that the references to bootable partition work regardless of the pc the flash drive is booted on.
boot grub2 usb-drive
add a comment |Â
up vote
0
down vote
favorite
I wanted to create a bootable Linux Lubuntu install on USB flash drive, with persistent state. Apparently, I have messed up the bootloader install: now I have a USB that boots on the particular laptop where it was created, but doesn't boot on other PCs (doesn't show up in the bootable devices list). And the laptop now enters grub console right at boot, when the USB flash drive is not plugged in. It is possible to boot the OEM Windows that's on the laptop's hdd only if I select the appropriate boot device in the bios menu.
That problem with pc entering grub console at boot is a separate problem that I think I know how to fix. However, I'd like to fix that usb flash drive now.
There's a /boot directory on the Lubuntu flash drive, with grub config in /boot/grub/grub.cfg where I can recognize the grub menu items that are displayed when the laptop boots up with flash drive plugged in. So, apparently the bootloader is installed on the laptop's hdd, and the bootloader points to the grub config that's on the flash drive.
If I do $ file -s /dev/sdb, I get
/dev/sdb: DOS/MBR boot sector; partition 1 : ID=0x83, start-CHS
(0x0,32,33), end-CHS (0x3ff,254,63), startsector 2048, 31083985
sectors; partition 2 : ID=0x5, start-CHS (0x3ff,254,63), end-CHS
(0x3ff,254,63), startsector 31088638, 219586562 sectors
I am not sure this is expected response if the usb is not bootable.
My question is how I can now make the flash drive bootable, without disturbing its contents? And how I make it load the flash drive's grub config file when the pc is booted from it. I wonder also if the grub menu item commands should be adjusted so that the references to bootable partition work regardless of the pc the flash drive is booted on.
boot grub2 usb-drive
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I wanted to create a bootable Linux Lubuntu install on USB flash drive, with persistent state. Apparently, I have messed up the bootloader install: now I have a USB that boots on the particular laptop where it was created, but doesn't boot on other PCs (doesn't show up in the bootable devices list). And the laptop now enters grub console right at boot, when the USB flash drive is not plugged in. It is possible to boot the OEM Windows that's on the laptop's hdd only if I select the appropriate boot device in the bios menu.
That problem with pc entering grub console at boot is a separate problem that I think I know how to fix. However, I'd like to fix that usb flash drive now.
There's a /boot directory on the Lubuntu flash drive, with grub config in /boot/grub/grub.cfg where I can recognize the grub menu items that are displayed when the laptop boots up with flash drive plugged in. So, apparently the bootloader is installed on the laptop's hdd, and the bootloader points to the grub config that's on the flash drive.
If I do $ file -s /dev/sdb, I get
/dev/sdb: DOS/MBR boot sector; partition 1 : ID=0x83, start-CHS
(0x0,32,33), end-CHS (0x3ff,254,63), startsector 2048, 31083985
sectors; partition 2 : ID=0x5, start-CHS (0x3ff,254,63), end-CHS
(0x3ff,254,63), startsector 31088638, 219586562 sectors
I am not sure this is expected response if the usb is not bootable.
My question is how I can now make the flash drive bootable, without disturbing its contents? And how I make it load the flash drive's grub config file when the pc is booted from it. I wonder also if the grub menu item commands should be adjusted so that the references to bootable partition work regardless of the pc the flash drive is booted on.
boot grub2 usb-drive
I wanted to create a bootable Linux Lubuntu install on USB flash drive, with persistent state. Apparently, I have messed up the bootloader install: now I have a USB that boots on the particular laptop where it was created, but doesn't boot on other PCs (doesn't show up in the bootable devices list). And the laptop now enters grub console right at boot, when the USB flash drive is not plugged in. It is possible to boot the OEM Windows that's on the laptop's hdd only if I select the appropriate boot device in the bios menu.
That problem with pc entering grub console at boot is a separate problem that I think I know how to fix. However, I'd like to fix that usb flash drive now.
There's a /boot directory on the Lubuntu flash drive, with grub config in /boot/grub/grub.cfg where I can recognize the grub menu items that are displayed when the laptop boots up with flash drive plugged in. So, apparently the bootloader is installed on the laptop's hdd, and the bootloader points to the grub config that's on the flash drive.
If I do $ file -s /dev/sdb, I get
/dev/sdb: DOS/MBR boot sector; partition 1 : ID=0x83, start-CHS
(0x0,32,33), end-CHS (0x3ff,254,63), startsector 2048, 31083985
sectors; partition 2 : ID=0x5, start-CHS (0x3ff,254,63), end-CHS
(0x3ff,254,63), startsector 31088638, 219586562 sectors
I am not sure this is expected response if the usb is not bootable.
My question is how I can now make the flash drive bootable, without disturbing its contents? And how I make it load the flash drive's grub config file when the pc is booted from it. I wonder also if the grub menu item commands should be adjusted so that the references to bootable partition work regardless of the pc the flash drive is booted on.
boot grub2 usb-drive
boot grub2 usb-drive
edited Apr 14 at 11:30
asked Apr 14 at 11:13
Passiday
1284
1284
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
i might give you a way
there is a software which helped me a year ago when i felt the same problem
i am giving you the software's link
use it in any windows platform.
and do let me know if it worked
https://github.com/akgnit/Useful-Codes/blob/master/BOOTICEx64_v1.332.rar
With all due respect, but running an exe from a stranger is not the way to solve problems.
â Passiday
Apr 14 at 13:45
indeed you are correct.. i told you before only it might be a way. this application is from majorgeeks. so i trusted it
â akgnit
Apr 14 at 15:33
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
i might give you a way
there is a software which helped me a year ago when i felt the same problem
i am giving you the software's link
use it in any windows platform.
and do let me know if it worked
https://github.com/akgnit/Useful-Codes/blob/master/BOOTICEx64_v1.332.rar
With all due respect, but running an exe from a stranger is not the way to solve problems.
â Passiday
Apr 14 at 13:45
indeed you are correct.. i told you before only it might be a way. this application is from majorgeeks. so i trusted it
â akgnit
Apr 14 at 15:33
add a comment |Â
up vote
0
down vote
i might give you a way
there is a software which helped me a year ago when i felt the same problem
i am giving you the software's link
use it in any windows platform.
and do let me know if it worked
https://github.com/akgnit/Useful-Codes/blob/master/BOOTICEx64_v1.332.rar
With all due respect, but running an exe from a stranger is not the way to solve problems.
â Passiday
Apr 14 at 13:45
indeed you are correct.. i told you before only it might be a way. this application is from majorgeeks. so i trusted it
â akgnit
Apr 14 at 15:33
add a comment |Â
up vote
0
down vote
up vote
0
down vote
i might give you a way
there is a software which helped me a year ago when i felt the same problem
i am giving you the software's link
use it in any windows platform.
and do let me know if it worked
https://github.com/akgnit/Useful-Codes/blob/master/BOOTICEx64_v1.332.rar
i might give you a way
there is a software which helped me a year ago when i felt the same problem
i am giving you the software's link
use it in any windows platform.
and do let me know if it worked
https://github.com/akgnit/Useful-Codes/blob/master/BOOTICEx64_v1.332.rar
answered Apr 14 at 11:39
akgnit
609
609
With all due respect, but running an exe from a stranger is not the way to solve problems.
â Passiday
Apr 14 at 13:45
indeed you are correct.. i told you before only it might be a way. this application is from majorgeeks. so i trusted it
â akgnit
Apr 14 at 15:33
add a comment |Â
With all due respect, but running an exe from a stranger is not the way to solve problems.
â Passiday
Apr 14 at 13:45
indeed you are correct.. i told you before only it might be a way. this application is from majorgeeks. so i trusted it
â akgnit
Apr 14 at 15:33
With all due respect, but running an exe from a stranger is not the way to solve problems.
â Passiday
Apr 14 at 13:45
With all due respect, but running an exe from a stranger is not the way to solve problems.
â Passiday
Apr 14 at 13:45
indeed you are correct.. i told you before only it might be a way. this application is from majorgeeks. so i trusted it
â akgnit
Apr 14 at 15:33
indeed you are correct.. i told you before only it might be a way. this application is from majorgeeks. so i trusted it
â akgnit
Apr 14 at 15:33
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1024943%2fmake-usb-with-linux-bootable%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password