LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-23-2011, 07:03 PM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 50
create live usb-hdd with ext2


hi

I will create a live usb-hdd image with ext2.

fat16 should be a default file system in config/binary:
Code:
LH_BINARY_FILESYSTEM="fat16"
and I can change only to fat32.

Knows someone why I cannot use ext2?
Code:
LH_BINARY_FILESYSTEM="ext2"
..............................................................................................
# lh_build
W: You have selected values of LH_BOOTLOADER and LH_BINARY_FILESYSTEM which are incompatible - 
syslinux only supports FAT filesystems.
P: Setting up cleanup function

Last edited by cccc; 03-21-2011 at 07:48 PM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-23-2011, 08:19 PM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
You can use ext2 if you want (although if you were going to use ext2 why wouldn't you go further and use ext3/4?) but your obviously using LiveBuild to construct your LiveUSB image and if you follow LiveBuild's suggestions you will use syslinux which doesn't support anything other than FAT16/32.

If you want to use ext2/3/4 it is possible to use Grub2 to boot iso images (for Ubuntu it is) although I am yet to have any success in getting a Debian iso to boot this way.
 
1 members found this post helpful.
Old 02-23-2011, 08:21 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 14,721
Blog Entries: 24

Rep: Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109
A guess about why not ext2. If someone wants to use it with Windows, I believe that Windows understands only FAT or, since NT and XP, NTFS.

Last edited by frankbell; 02-23-2011 at 08:22 PM.
 
Old 02-24-2011, 01:12 AM   #4
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
a) You could try:
lh config --bootloader grub
I did never did that. Just an idea.

b) a fellow is working on a how-to including grub. Have a short look here:
http://paste.debian.net/108686/
i set it to vanish (72 hours) and hope i won't forget to add the link once it is online.
As far i can tell he is quite good with it, and you might follow the link in my sig, go to how-to-discussion and ask there.

c) If it was me i would install Debian to the stick, pick ext2 and be done with it
(he was in IRC when he did the grub-stuff, and for me it sure does not sound like much fun. Your choice, sure)

Last edited by j1alu; 02-24-2011 at 01:14 AM.
 
2 members found this post helpful.
Old 02-24-2011, 01:53 AM   #5
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by j1alu View Post
b) a fellow is working on a how-to including grub. Have a short look here:
http://paste.debian.net/108686/
i set it to vanish (72 hours) and hope i won't forget to add the link once it is online.
As far i can tell he is quite good with it, and you might follow the link in my sig, go to how-to-discussion and ask there.
Thanks for this, I have copied this as a txt document and will give it a go in the next week or so.
 
Old 02-24-2011, 03:31 AM   #6
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Quote:
Originally Posted by k3lt01 View Post
Thanks for this, I have copied this as a txt document and will give it a go in the next week or so.
You would also find it at forums debian net, how-to section, searching for fsmithred.
I would prefer to link to the new how-to, but in case it helps someone, i don't want to skip the info.
Good luck.
 
1 members found this post helpful.
Old 03-20-2011, 09:36 PM   #7
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by j1alu View Post
a) You could try:
lh config --bootloader grub
I did never did that. Just an idea.

b) a fellow is working on a how-to including grub. Have a short look here:
http://paste.debian.net/108686/
i set it to vanish (72 hours) and hope i won't forget to add the link once it is online.
As far i can tell he is quite good with it, and you might follow the link in my sig, go to how-to-discussion and ask there.

c) If it was me i would install Debian to the stick, pick ext2 and be done with it
(he was in IRC when he did the grub-stuff, and for me it sure does not sound like much fun. Your choice, sure)
Thx, I've tried to create an image with a grub2 bootloader on squeeze, but I get these errors:
Code:
Creating config file /etc/default/grub with new version
grub-probe: error: cannot find a device for / (is /dev mounted?).
grub-probe: error: cannot find a device for /boot (is /dev mounted?).
grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
W: Bootloader in this image type not yet supported by live-build.
W: This would produce a not bootable image, aborting (FIXME).
P: Begin unmounting filesystems...
 
Old 03-20-2011, 10:27 PM   #8
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
It is hard to give good help if we don;t know the exact command you gave. Try this command, suitably adjusted to your system.

Code:
sudo grub-install --root-directory=/media/USBFolderName /dev/sdx
USBFolderName is the name of your USB disk

sdx is your usb location e.g. my USB is usually sda

Last edited by k3lt01; 03-20-2011 at 10:29 PM.
 
Old 03-21-2011, 07:44 PM   #9
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by k3lt01 View Post
It is hard to give good help if we don;t know the exact command you gave.
I've tried to create a live using these entries in config/binary:
Code:
# $LB_BINARY_FILESYSTEM: set image filesystem
# (Default: fat32)
LB_BINARY_FILESYSTEM="ext2"

# $LB_BOOTLOADER: set bootloader
# (Default: syslinux)
LB_BOOTLOADER="grub2"
and this won't work.

I'll try to install grub2 into usb stick directly, but what happens with syslinux installed by default?

Last edited by cccc; 03-21-2011 at 07:58 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
live usb-hdd with 2 different keyboard layouts cccc Debian 2 02-23-2011 07:35 PM
Build squeeze live usb-hdd on lenny cccc Debian 3 02-17-2011 09:50 AM
Debian Live 503 Chrysalis fvwm-crystal for CD/USB/HDD! linus72 Debian 9 01-07-2010 03:20 AM
can't mount fat32 or fat16 as vfat lurko Slackware 6 07-19-2006 07:00 PM
Can't mount partition using fs type; win95 fat32, fat16 desmondwck Linux - Hardware 13 05-23-2004 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration