[SOLVED] Re: Where is the disk label stored?

2011-03-05 Thread Hans-J. Ullrich
Am Samstag, 5. März 2011 schrieb Hans-J. Ullrich: > Hello list, > > I am searching for an entry, where a disk label is stored. > > Problem: Some time ago I formatted a sd-card and labelled it with the name > "Debian Inst". In the meantime, I formatted this sd-card several times and > deleted the

Re: Where is the disk label stored?

2011-03-05 Thread Camaleón
On Sat, 05 Mar 2011 21:53:40 +0100, Hans-J. Ullrich wrote: >> > root@protheus7:~# mlabel -s /dev/sdb1 Mtools version 4.0.12, dated >> > November 3rd, 2009 Usage: mlabel [-vscVn] [-N serial] drive: >> > root@protheus7:~# >> >> Hum... Google provides some hints: >> >> # check the current label >

Re: Where is the disk label stored?

2011-03-05 Thread Steve Kemp
On Sat Mar 05, 2011 at 21:48:33 +0100, Hans-J. Ullrich wrote: > Sorry, I forgot to mention, the filesystem is now fat32. > So those tools will not work. If you're willing to re-format you can set the label at the time you do that: # mkfs.vfat /dev/sdc1 -n mylabel Otherwise checkout the

Re: Where is the disk label stored?

2011-03-05 Thread azrael
try mlabel. package as mtools On Sat, 5 Mar 2011 21:48:33 +0100, "Hans-J. Ullrich" wrote: >> i think the disk label is stored in the hardware. >> "tune2fs -l /dev/your-sd-card | more " should show >> the tunable parameters of which disk label may be first. >> >> Also try to use e2label command.

Re: Where is the disk label stored?

2011-03-05 Thread Hans-J. Ullrich
> > root@protheus7:~# mlabel -s /dev/sdb1 > > Mtools version 4.0.12, dated > > November 3rd, 2009 Usage: mlabel [-vscVn] [-N serial] drive: > > root@protheus7:~# > > Hum... Google provides some hints: > > # check the current label You pointed me correctly, I used the wrong syntax, no space afte

Re: Where is the disk label stored?

2011-03-05 Thread Hans-J. Ullrich
> i think the disk label is stored in the hardware. > "tune2fs -l /dev/your-sd-card | more " should show > the tunable parameters of which disk label may be first. > > Also try to use e2label command. > > "e2label device" may show you the label and > "e2label device [newlabel]" may set one for

Re: Where is the disk label stored?

2011-03-05 Thread Jeffrin Jose
On Sat, Mar 05, 2011 at 07:04:29PM +0100, Hans-J. Ullrich wrote: > But I got no success, too. IMO the label is stored somewhere else and maybe > bound to the hardware, i.e. the UUID or something. i think the disk label is stored in the hardware. "tune2fs -l /dev/your-sd-card | more " should sho

Re: Where is the disk label stored?

2011-03-05 Thread Camaleón
On Sat, 05 Mar 2011 19:04:29 +0100, Hans-J. Ullrich wrote: > I am searching for an entry, where a disk label is stored. > > Problem: Some time ago I formatted a sd-card and labelled it with the > name "Debian Inst". In the meantime, I formatted this sd-card several > times and deleted the label.

Where is the disk label stored?

2011-03-05 Thread Hans-J. Ullrich
Hello list, I am searching for an entry, where a disk label is stored. Problem: Some time ago I formatted a sd-card and labelled it with the name "Debian Inst". In the meantime, I formatted this sd-card several times and deleted the label. But whenever I put the card in, it is seen as "Debian I