Loading ...
Sorry, an error occurred while loading the content.

Re: unslung 6.x - unslinging - formatting problems

Expand Messages
  • dustinemptyspace
    Ciao Mike, Thanks a lot ... I was really blind! I noticed that the web interface fails during the formatting, also using a 256 Mb. I used the manual method and
    Message 1 of 5 , Jan 30, 2006
    • 0 Attachment
      Ciao Mike,

      Thanks a lot ... I was really blind!


      I noticed that the web interface fails during the formatting, also
      using a 256 Mb. I used the manual method and everything went fine.

      thanks a lot.

      --- In nslu2-linux@yahoogroups.com, "Mike Westerhof" <mwester@d...> wrote:
      >
      >
      > ----- Original Message -----
      > From: "dustinemptyspace" <dustinemptyspace@y...>
      > To: <nslu2-linux@yahoogroups.com>
      > Sent: Sunday, January 29, 2006 4:56 PM
      > Subject: [nslu2-linux] Re: unslung 6.x - unslinging - formatting
      problems
      >
      >
      > > Mike, thanks a lot for the fast reply.
      > >
      > >
      > > I should be really blind ... I cannot find your post in any of the
      > > four mailing lists...
      > >
      > > gmane.comp.misc.nslu2.devel
      > > gmane.comp.misc.nslu2.general
      > > gmane.comp.misc.nslu2.german
      > > gmane.comp.misc.nslu2.linux
      > >
      > > But I, probably, am only TOO TIRED ... I woke up 18 hours ago!
      > >
      > > I'll retry tomorrow ...
      > >
      > > Thanks.
      > >
      > >
      > >
      > > --- In nslu2-linux@yahoogroups.com, "Mike Westerhof"
      <mwester@d...> wrote:
      > > >
      > > > If you do a quick search of the mailing lists you should find that
      > > post; I
      > > > detailed the procedure for doing an NSLU-native format of a
      128MB memory
      > > > stick using another Linux machine in a posting sometime in the past
      > > week or
      > > > so.
      >
      >
      > --- Original Email ----
      >
      > Here's the process I use to initialize a 128MB USB flash drive so
      that it is
      > recognized as a natively formatted disk by Unslung. The two "tar" files
      > referenced here where originally generated by natively formatting a
      drive
      > on the NSLU, immediately shutting down the NSLU, reconnecting the
      drive to
      > my Linux box, and tarring the contents off.
      >
      > Clearly the numbers below are WAY smaller than the defaults the NSLU
      uses
      > when formatting; they are close to the smallest the NSLU will
      recognize. So
      > what I'm saying is that as long as your partition sizes are larger,
      you'll
      > be fine. The first partition is the data partition - that needs to
      be big
      > enough to hold the Unslung software, and all the application
      software you
      > wish to use (along with /tmp space and logs, and all that). The
      second is
      > the conf partition, it doesn't need to be any bigger than the size I've
      > selected. The third is the swap partition. Size that to what you
      need with
      > an Unslung system. 32MB is usually ok, 128MB is great, you'll
      usually only
      > need more than that if you are using the NSLU as a build machine.
      >
      > Please refer to your Linux manual pages for documentation on the
      sfdisk or
      > fdisk programs -- these utilities can TRASH your drives if you use them
      > incorrectly. I document *my* process only, any use any readers of this
      > email may put that information to is the responsibility of the
      reader - I am
      > *not* responsible for data loss if you use this information!!!
      >
      > This is on Fedora FC 3, BTW:
      >
      > #!/bin/sh
      > #
      > # Program to format and reinit my GE 128MB memory stick for use
      > # as a drive on an NSLU2 for unslung.
      >
      > # Umount the two devices in case they were automatically mounted by
      > # Linux when the memory stick was plugged in
      >
      > umount /dev/sda1
      > umount /dev/sda2
      >
      > # Repartition the memory stick. This will ONLY work with 128MB flash
      > # sticks, and possibly with only this particular one. The numbers for
      > # start and end MUST be changed to work with any other device.
      >
      > sfdisk /dev/sda <<EOD
      > # partition table of /dev/sda
      > unit: sectors
      >
      > /dev/sda1 : start= 61, size= 146339, Id=83
      > /dev/sda2 : start= 146400, size= 49044, Id=83
      > /dev/sda3 : start= 195444, size= 53680, Id=82
      > /dev/sda4 : start= 0, size= 0, Id= 0
      > EOD
      >
      > # The silly automounter may have mounted the new partions;
      > # unmount them so that we can write a new file system if so.
      >
      > umount /dev/sda1
      >
      > # Write a new ext3 filesystem
      >
      > mke2fs -j /dev/sda1
      >
      > # Mount the new filesystem
      >
      > mount /dev/sda1 /mnt
      >
      > # Extract the previously-saved contents for this partition. The
      > # original content was obtained by freshly formatting a larger
      > # drive in the NSLU, and tar'ing off the contents of the "virgin"
      > # filesystems to the R63*_disk2.tgz tarballs used below.
      >
      > cat R63data_disk2.tgz | (cd /mnt; tar xfpz -)
      >
      > # Unmount this partition as we're done with it now.
      >
      > umount /dev/sda1
      >
      >
      > # Repeat the above for the second (conf) partition
      >
      > umount /dev/sda2
      > mke2fs -j /dev/sda2
      > mount /dev/sda2 /mnt
      > cat R63conf_disk2.tgz | (cd /mnt; tar xfpz -)
      > umount /dev/sda2
      >
      > # Done
      >
      > exit 0
      >
      >
      >
      > Mike
      >
      > ----- Original Message -----
      > From: "Martin Gingras" <martin.gingras@g...>
      > To: <nslu2-general@yahoogroups.com>
      > Sent: Monday, January 23, 2006 9:13 AM
      > Subject: Re: [nslu2-general] HD not recognized by
      V2.3R29-uNSLUng-5.5-beta
      >
      >
      > > Hi,
      > >
      > > thanx you for such a complete answer. I would like to know if you can
      > > provide me with a fdisk -l of a an unsling drive? I would like to see
      > > if I have to reformat the entire drive using the linksys web interface
      > > or I can try to create the 3 partition needed by the NSLU2. Anyone
      > > here had success with an extended partition?
      > >
      > > Mart
      >
      >
      > [Non-text portions of this message have been removed]
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.