On Tue, Jan 20, 2015 at 12:03:09AM +0100, Alexey Orishko wrote:
> On Mon, Jan 19, 2015 at 12:49 PM, Richard Melville
> <[email protected]> wrote:
> 
> > Are you sure that the USB flash drive isn't formatted with NTFS?  If not,
> > which file system is on it?  If it is, then maybe you haven't enabled NTFS
> > in your kernel.
> 
> Yes, I'm. I did format it as stated above. It is USB boot disk, where the 
> first
> partition code (in gdisk) is EF02 and first partition is not formatted
> at all, while
> partition 2 is ext2 and part3 - etx4.
> 
> > I'm not sure why you are referring to /dev/sda when the flash drive appears
> > to be /dev/sde.
> I'm not referring to /dev/sda, it is a *linux warning message* which
> is printed on a console.
> 
> > Also, I'm not sure why you need NTFS unless a version of
> > Windows is installed somewhere, or you need to read an NTFS formatted
> > device.
> I do not need NTFS.
> I'll try to clarify my question: I don't want Linux to try mounting 
> unformatted
> EF02 partition as NTFS (which is a bad guess on linux part).
> Is there any way to prevent that?
> 
> /alexey

 I don't think I can offer any useful advice, but let me try to
clarify a few points, in the hope that it might attract the attention
of anybody who knows about EFI.

1. The machine is using EFI ?  And therefore, you put the flash
drive in, turn on, and let it boot ?  If so, getting a linux error
implies that your bootloader, whatever it is, has found a linux
kernel.

2. Is it a PC or a mac ?  When people have talked about EFI in the
last year, it has turned out that the details differ.

3. What bootloader are you using, where is it, and how have you
defined what it ought to do (i.e. load the kernel) ?

 I'm wondering if some parameter or command is wrong or missing -
I would not expect the kernel to look at the first partition,
except if it was told to OR was not told where to look, but had
been built on /dev/sdX1 [ ISTR that if I build on e.g. /dev/sda5
and do not pass root= then linux used to fall back to the
partition it had been built on - not sure if that still happens, nor
if the drive itself would be used, or only the partition number ].

 Did you, perhaps, build that kernel at /dev/sde1 ?  Which drive are
you expecting the stick to appear as ?  (Again, I have no experience
in booting from flash, nor the various hoops that people have to
jump through to do it in LFS).

ĸen
-- 
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to