[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: typo in debian live manual



Daniel Baumann wrote:
Javier Barroso wrote:
> Hi,
> Hi,

> In 3.3.3. Using the space left on a USB stick [1] tells about
> 
> # mkfs.ext2 ${USBSTICK}
> 
> It would be better tells something like:
> 
> # mkfs.ext2 ${USBSTICK}2

> i don't think it is a typo, in 3.3.1, it says:

> "[...] and type:

> $ dd if=binary.img of=${USBSTICK}

> where ${USBSTICK} is the device file of your key, like /dev/sda (not a
> partition like /dev/sda1!); you can find the right device name by
> looking in dmesg's output after plugging the stick, for example)."

> however, given that quote above, do you have a better suggestion?

After re-reading again 3.3.3 section, I think this is a typo.

I would replace:


"
If you want to use the remaining free space after you have installed the
|binary.img|, you can use a partitioning tool such as gparted or parted
to create a new partition on the stick. The first partition will be used
by the Debian Live system.

# gparted ${USBSTICK}

After the creation of the partition you have to create a filsystem on
it. One possible choice would be ext2 (ext3 isn't recommended because
the journaling causes too much writes to the stick).

# mkfs.ext2 ${USBSTICK}
"

with:

"
If you want to use the remaining free space after you have installed the
|binary.img|, you can use a partitioning tool such as gparted or parted
to create a new partition (named for example ${USBSTICK_PART}) on the
stick. The first partition will be used by the Debian Live system.
# gparted ${USBSTICK}

After the creation of the partition you have to create a filsystem on
it. One possible choice would be ext2 (ext3 isn't recommended because
the journaling causes too much writes to the stick).

# mkfs.ext2 ${USBSTICK_PART}

"


consistently using ${USBSTICK}2 doesn't seem to be better to me.

Ok, It is not the best way.

In my case I used:

# partx /dev/sdb
# cfdisk /dev/sdb --> create new /dev/sdb2
# mkfs.ext3 /dev/sdb2

(Sure, I could lost (if the system take the disk like a partition) my data if I exec "mkfs.ext2 /dev/sdb")

Thank you,

PD: If I'm wrong, sorry for your lost time 

-- 
Javier Barroso



Reply to: