Bzimage and rootfs.ext2

Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
0
down vote
favorite
This is the first time I'm trying to build the kernel from scratch: I'm new on this topic so excuse me for the dumb question.
What is the difference between bzimage and rootfs.ext2?
I'm using buildroot and I obtained the above output: as far as I know, bzimage is the compressed kernel image and rootfs.ext2 the filesystem.
However I'm using QEMU with the following commands:
$ qemu-system-i386 -enable-kvm -M pc -kernel ./bzImage -
drive file=./rootfs.ext2,if=virtio,format=raw
or
$ qemu-system-i386 -enable-kvm -M pc -kernel ./bzImage
The outputs seems the same: I see the whole filesystem with an ls command and the same files: can you explain to me the differences between the two outputs?
kernel
add a comment |Â
up vote
0
down vote
favorite
This is the first time I'm trying to build the kernel from scratch: I'm new on this topic so excuse me for the dumb question.
What is the difference between bzimage and rootfs.ext2?
I'm using buildroot and I obtained the above output: as far as I know, bzimage is the compressed kernel image and rootfs.ext2 the filesystem.
However I'm using QEMU with the following commands:
$ qemu-system-i386 -enable-kvm -M pc -kernel ./bzImage -
drive file=./rootfs.ext2,if=virtio,format=raw
or
$ qemu-system-i386 -enable-kvm -M pc -kernel ./bzImage
The outputs seems the same: I see the whole filesystem with an ls command and the same files: can you explain to me the differences between the two outputs?
kernel
both commands seem to be invoking bzImage
â Rui F Ribeiro
Jul 29 at 17:54
True...the second one invokes only bzimage and the results are exactly the same to the first one
â andrew
Jul 29 at 17:59
I noticed...it seems your 2nd paragraph needs some working.
â Rui F Ribeiro
Jul 29 at 17:59
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This is the first time I'm trying to build the kernel from scratch: I'm new on this topic so excuse me for the dumb question.
What is the difference between bzimage and rootfs.ext2?
I'm using buildroot and I obtained the above output: as far as I know, bzimage is the compressed kernel image and rootfs.ext2 the filesystem.
However I'm using QEMU with the following commands:
$ qemu-system-i386 -enable-kvm -M pc -kernel ./bzImage -
drive file=./rootfs.ext2,if=virtio,format=raw
or
$ qemu-system-i386 -enable-kvm -M pc -kernel ./bzImage
The outputs seems the same: I see the whole filesystem with an ls command and the same files: can you explain to me the differences between the two outputs?
kernel
This is the first time I'm trying to build the kernel from scratch: I'm new on this topic so excuse me for the dumb question.
What is the difference between bzimage and rootfs.ext2?
I'm using buildroot and I obtained the above output: as far as I know, bzimage is the compressed kernel image and rootfs.ext2 the filesystem.
However I'm using QEMU with the following commands:
$ qemu-system-i386 -enable-kvm -M pc -kernel ./bzImage -
drive file=./rootfs.ext2,if=virtio,format=raw
or
$ qemu-system-i386 -enable-kvm -M pc -kernel ./bzImage
The outputs seems the same: I see the whole filesystem with an ls command and the same files: can you explain to me the differences between the two outputs?
kernel
edited Jul 29 at 22:35
slmâ¦
232k65479649
232k65479649
asked Jul 29 at 17:30
andrew
1
1
both commands seem to be invoking bzImage
â Rui F Ribeiro
Jul 29 at 17:54
True...the second one invokes only bzimage and the results are exactly the same to the first one
â andrew
Jul 29 at 17:59
I noticed...it seems your 2nd paragraph needs some working.
â Rui F Ribeiro
Jul 29 at 17:59
add a comment |Â
both commands seem to be invoking bzImage
â Rui F Ribeiro
Jul 29 at 17:54
True...the second one invokes only bzimage and the results are exactly the same to the first one
â andrew
Jul 29 at 17:59
I noticed...it seems your 2nd paragraph needs some working.
â Rui F Ribeiro
Jul 29 at 17:59
both commands seem to be invoking bzImage
â Rui F Ribeiro
Jul 29 at 17:54
both commands seem to be invoking bzImage
â Rui F Ribeiro
Jul 29 at 17:54
True...the second one invokes only bzimage and the results are exactly the same to the first one
â andrew
Jul 29 at 17:59
True...the second one invokes only bzimage and the results are exactly the same to the first one
â andrew
Jul 29 at 17:59
I noticed...it seems your 2nd paragraph needs some working.
â Rui F Ribeiro
Jul 29 at 17:59
I noticed...it seems your 2nd paragraph needs some working.
â Rui F Ribeiro
Jul 29 at 17:59
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');
);
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%2funix.stackexchange.com%2fquestions%2f459205%2fbzimage-and-rootfs-ext2%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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');
);
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');
);
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
both commands seem to be invoking bzImage
â Rui F Ribeiro
Jul 29 at 17:54
True...the second one invokes only bzimage and the results are exactly the same to the first one
â andrew
Jul 29 at 17:59
I noticed...it seems your 2nd paragraph needs some working.
â Rui F Ribeiro
Jul 29 at 17:59