Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Linux Hardware

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-15-2008, 07:34 AM
dave.dex@googlemail.com
 
Posts: n/a
Pre partitioned ext2 usb disk appears as fat32 by the debianinstaller

I'm trying to set up my NSLU2 with an 8GB USB drive as the main disk.
I've been following http://www.cyrius.com/debian/nslu2/install.html
however I have an issue.

To prevent having the nslu2 perform the partitioning I've done this on
my laptop using a live cd (fdisk, swapon, mke2fs, etc). When the
debian installer gets to do the partition it sees the 8Gb drive as a
fat32 drive with no partitions so I cannot tell the installer to use
it.

Can anyone help point me in the right direction? I'm a little lost.
Thanks in advance
Dave
Reply With Quote
  #2 (permalink)  
Old 04-15-2008, 04:50 PM
Stefan Patric
 
Posts: n/a
Re: Pre partitioned ext2 usb disk appears as fat32 by the debianinstaller

On Tue, 15 Apr 2008 00:34:10 -0700, dave.dex wrote:

> I'm trying to set up my NSLU2 with an 8GB USB drive as the main disk.
> I've been following http://www.cyrius.com/debian/nslu2/install.html
> however I have an issue.
>
> To prevent having the nslu2 perform the partitioning I've done this on
> my laptop using a live cd (fdisk, swapon, mke2fs, etc). When the debian
> installer gets to do the partition it sees the 8Gb drive as a fat32
> drive with no partitions so I cannot tell the installer to use it.
>
> Can anyone help point me in the right direction? I'm a little lost.
> Thanks in advance
> Dave


Without knowing exactly what you did to partition the USB drive--you
didn't elaborate--I can only guess: It looks like when you used fdisk to
do the partitioning, you didn't save the changes; that is, you hit "q" to
quit, which doesn't save any changes, instead of "w" which writes the
changes to the drive, then quits. Also, when you create a partition in
fdisk you also need to set the partition "type": 83 is Linux, and 82 is
Linux swap, IIRC.

Stef
Reply With Quote
  #3 (permalink)  
Old 04-15-2008, 07:44 PM
John Thompson
 
Posts: n/a
Re: Pre partitioned ext2 usb disk appears as fat32 by the debian installer

On 2008-04-15, dave.dex@googlemail.com <dave.dex@googlemail.com> wrote:

> I'm trying to set up my NSLU2 with an 8GB USB drive as the main disk.
> I've been following http://www.cyrius.com/debian/nslu2/install.html
> however I have an issue.
>
> To prevent having the nslu2 perform the partitioning I've done this on
> my laptop using a live cd (fdisk, swapon, mke2fs, etc). When the
> debian installer gets to do the partition it sees the 8Gb drive as a
> fat32 drive with no partitions so I cannot tell the installer to use
> it.
>
> Can anyone help point me in the right direction? I'm a little lost.


What does "fdisk -l /dev/[whatever]" tell you about the drive? If
there's no data on the drive, you can start fresh by writting a new,
empty partition table (use the "o" command from inside fdisk) and
creating the partitions you need there.

--

John (john@os2.dhs.org)
Reply With Quote
  #4 (permalink)  
Old 04-19-2008, 12:29 PM
dave.dex@googlemail.com
 
Posts: n/a
Re: Pre partitioned ext2 usb disk appears as fat32 by the debianinstaller

On Apr 16, 3:44 am, John Thompson <j...@vector.os2.dhs.org> wrote:
> On 2008-04-15, dave....@googlemail.com <dave....@googlemail.com> wrote:
>
> > I'm trying to set up my NSLU2 with an 8GB USB drive as the main disk.
> > I've been followinghttp://www.cyrius.com/debian/nslu2/install.html
> > however I have an issue.

>
> > To prevent having the nslu2 perform the partitioning I've done this on
> > my laptop using a live cd (fdisk, swapon, mke2fs, etc). When the
> > debian installer gets to do the partition it sees the 8Gb drive as a
> > fat32 drive with no partitions so I cannot tell the installer to use
> > it.

>
> > Can anyone help point me in the right direction? I'm a little lost.

>
> What does "fdisk -l /dev/[whatever]" tell you about the drive? If
> there's no data on the drive, you can start fresh by writting a new,
> empty partition table (use the "o" command from inside fdisk) and
> creating the partitions you need there.
>
> --
>
> John (j...@os2.dhs.org)


Thanks for the help. I did make sure I wrote the partitions and when I
re-insert the drive into another linux box it appears to be correctly
mount the partitions as I've made them. If I list the partitions using
fdisk it displays them correctly. I'll post the exact output in a
moment.
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Linux Hardware


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:03 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109