Custom ISO not booting on Flash Drive
up vote
2
down vote
favorite
I've developed a custom minimal ubuntu distribution (there is a specific reason for this) which I've been able to successfully boot inside of a VM and burn to a CD. However, when I try to use unetbootin (or rufus, or dd, or most anything else) it fails miserably. I get two specific errors
stdin: not a typewriter
/init: line3: can't open /dev/sr0: No medium found
This ISO was built using casper and squashfs if that helps in anyway.
I've tried setting the live-media-path=/casper/ but that doesn't seem to help that much. I've tried using isohybrid but that doesn't make a difference either.
Does anyone have a pointer or idea that can help? Is there any additional information that I can provide?
Thanks,
Chris
live-usb iso
add a comment |Â
up vote
2
down vote
favorite
I've developed a custom minimal ubuntu distribution (there is a specific reason for this) which I've been able to successfully boot inside of a VM and burn to a CD. However, when I try to use unetbootin (or rufus, or dd, or most anything else) it fails miserably. I get two specific errors
stdin: not a typewriter
/init: line3: can't open /dev/sr0: No medium found
This ISO was built using casper and squashfs if that helps in anyway.
I've tried setting the live-media-path=/casper/ but that doesn't seem to help that much. I've tried using isohybrid but that doesn't make a difference either.
Does anyone have a pointer or idea that can help? Is there any additional information that I can provide?
Thanks,
Chris
live-usb iso
1
Did you create the custom iso file inside an VM? In that case, maybe it is relying on some virtual driver, that belongs to that particular virtual machine (and the software creating it).
â sudodus
Mar 22 at 7:58
The ISO was created on a bare metal host. However, I may have built the kernel and initrd inside of a chroot container. I'll double check that as that may be causing problems. I'll update after I run some tests. Thanks for the idea.
â Chris Rapier
Mar 22 at 10:20
1
Sudodus, I have to say that you are a steely eyed missile man. This ended up being the problem. Building the kernel and initrd in the chroot was mucking everything. When I replaced them with kernels built outside of chroot it worked fine. Thank yo so much for the insight.
â Chris Rapier
Mar 22 at 10:50
I am glad that I could help you find a solution. Thanks for sharing your solution :-)
â sudodus
Mar 22 at 12:31
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I've developed a custom minimal ubuntu distribution (there is a specific reason for this) which I've been able to successfully boot inside of a VM and burn to a CD. However, when I try to use unetbootin (or rufus, or dd, or most anything else) it fails miserably. I get two specific errors
stdin: not a typewriter
/init: line3: can't open /dev/sr0: No medium found
This ISO was built using casper and squashfs if that helps in anyway.
I've tried setting the live-media-path=/casper/ but that doesn't seem to help that much. I've tried using isohybrid but that doesn't make a difference either.
Does anyone have a pointer or idea that can help? Is there any additional information that I can provide?
Thanks,
Chris
live-usb iso
I've developed a custom minimal ubuntu distribution (there is a specific reason for this) which I've been able to successfully boot inside of a VM and burn to a CD. However, when I try to use unetbootin (or rufus, or dd, or most anything else) it fails miserably. I get two specific errors
stdin: not a typewriter
/init: line3: can't open /dev/sr0: No medium found
This ISO was built using casper and squashfs if that helps in anyway.
I've tried setting the live-media-path=/casper/ but that doesn't seem to help that much. I've tried using isohybrid but that doesn't make a difference either.
Does anyone have a pointer or idea that can help? Is there any additional information that I can provide?
Thanks,
Chris
live-usb iso
live-usb iso
edited Mar 22 at 7:54
stumblebee
2,3083922
2,3083922
asked Mar 21 at 21:55
Chris Rapier
1111
1111
1
Did you create the custom iso file inside an VM? In that case, maybe it is relying on some virtual driver, that belongs to that particular virtual machine (and the software creating it).
â sudodus
Mar 22 at 7:58
The ISO was created on a bare metal host. However, I may have built the kernel and initrd inside of a chroot container. I'll double check that as that may be causing problems. I'll update after I run some tests. Thanks for the idea.
â Chris Rapier
Mar 22 at 10:20
1
Sudodus, I have to say that you are a steely eyed missile man. This ended up being the problem. Building the kernel and initrd in the chroot was mucking everything. When I replaced them with kernels built outside of chroot it worked fine. Thank yo so much for the insight.
â Chris Rapier
Mar 22 at 10:50
I am glad that I could help you find a solution. Thanks for sharing your solution :-)
â sudodus
Mar 22 at 12:31
add a comment |Â
1
Did you create the custom iso file inside an VM? In that case, maybe it is relying on some virtual driver, that belongs to that particular virtual machine (and the software creating it).
â sudodus
Mar 22 at 7:58
The ISO was created on a bare metal host. However, I may have built the kernel and initrd inside of a chroot container. I'll double check that as that may be causing problems. I'll update after I run some tests. Thanks for the idea.
â Chris Rapier
Mar 22 at 10:20
1
Sudodus, I have to say that you are a steely eyed missile man. This ended up being the problem. Building the kernel and initrd in the chroot was mucking everything. When I replaced them with kernels built outside of chroot it worked fine. Thank yo so much for the insight.
â Chris Rapier
Mar 22 at 10:50
I am glad that I could help you find a solution. Thanks for sharing your solution :-)
â sudodus
Mar 22 at 12:31
1
1
Did you create the custom iso file inside an VM? In that case, maybe it is relying on some virtual driver, that belongs to that particular virtual machine (and the software creating it).
â sudodus
Mar 22 at 7:58
Did you create the custom iso file inside an VM? In that case, maybe it is relying on some virtual driver, that belongs to that particular virtual machine (and the software creating it).
â sudodus
Mar 22 at 7:58
The ISO was created on a bare metal host. However, I may have built the kernel and initrd inside of a chroot container. I'll double check that as that may be causing problems. I'll update after I run some tests. Thanks for the idea.
â Chris Rapier
Mar 22 at 10:20
The ISO was created on a bare metal host. However, I may have built the kernel and initrd inside of a chroot container. I'll double check that as that may be causing problems. I'll update after I run some tests. Thanks for the idea.
â Chris Rapier
Mar 22 at 10:20
1
1
Sudodus, I have to say that you are a steely eyed missile man. This ended up being the problem. Building the kernel and initrd in the chroot was mucking everything. When I replaced them with kernels built outside of chroot it worked fine. Thank yo so much for the insight.
â Chris Rapier
Mar 22 at 10:50
Sudodus, I have to say that you are a steely eyed missile man. This ended up being the problem. Building the kernel and initrd in the chroot was mucking everything. When I replaced them with kernels built outside of chroot it worked fine. Thank yo so much for the insight.
â Chris Rapier
Mar 22 at 10:50
I am glad that I could help you find a solution. Thanks for sharing your solution :-)
â sudodus
Mar 22 at 12:31
I am glad that I could help you find a solution. Thanks for sharing your solution :-)
â sudodus
Mar 22 at 12:31
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1018075%2fcustom-iso-not-booting-on-flash-drive%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
1
Did you create the custom iso file inside an VM? In that case, maybe it is relying on some virtual driver, that belongs to that particular virtual machine (and the software creating it).
â sudodus
Mar 22 at 7:58
The ISO was created on a bare metal host. However, I may have built the kernel and initrd inside of a chroot container. I'll double check that as that may be causing problems. I'll update after I run some tests. Thanks for the idea.
â Chris Rapier
Mar 22 at 10:20
1
Sudodus, I have to say that you are a steely eyed missile man. This ended up being the problem. Building the kernel and initrd in the chroot was mucking everything. When I replaced them with kernels built outside of chroot it worked fine. Thank yo so much for the insight.
â Chris Rapier
Mar 22 at 10:50
I am glad that I could help you find a solution. Thanks for sharing your solution :-)
â sudodus
Mar 22 at 12:31