LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   installing slackware to usb harddrive...no /dev/sda2 on disk to mount for cfdisk (http://www.linuxquestions.org/questions/slackware-14/installing-slackware-to-usb-harddrive-no-dev-sda2-on-disk-to-mount-for-cfdisk-442283/)

surfbass 05-06-2006 03:21 PM

installing slackware to usb harddrive...no /dev/sda2 on disk to mount for cfdisk
 
I'm trying to install Slackware 10.2 to my old iPod (generation 3 I think). slackware on my laptops' harddrive reckognizes the ipod fine on /dev/sda2. but when I boot the slackware 10.2 cd to my laptop and add /dev/sda2 to /etc/fstab, there is no sda2 in /dev. How do I add it? and how do I get setup to know to install on /dev/sda2 on not /dev/hda? Thx.

MS3FGX 05-06-2006 03:40 PM

Is the iPod even getting detected by the installer?

Boot the install CD, then plug in the iPod and run "dmesg | tail" and see if it makes any mention of the USB device being detected. That should also tell you what device file it has been mapped to.

surfbass 05-06-2006 03:53 PM

dmesg detected the ipod as /dev/sdc

root@slackware:/# mount /dev/sdc
mount: wrong fs type, bad option, bad superblock on /dev/sdc, or too many mounted file systems

I already formatted the ipod on slackware (that was already installed) on /dev/hda so I don't know what the deal is. What's starting to piss me off is when I reboot slackware now, all the /dev/sda devices are gone and dmesg | tail doesn't bring them up!


fsck can't detect the ipod, and since slackware on /dev/hda wont detect it i cant run fsck

surfbass 05-06-2006 04:42 PM

i've figured most everything. so basically all i need now is how do I get 'setup' to detect '/dev/sda'?

MS3FGX 05-06-2006 04:48 PM

You can't mount /dev/sda, you need a partition to mount. /dev/sda1 or /dev/sda2

You can point fdisk to another drive just by doing "fdisk /dev/sda".

When you are booted to the Slackware install CD, try doing:

fdisk -l /dev/sda

See if it lists any partitions, then mount that partition, and point the installer to it.

surfbass 05-06-2006 04:55 PM

how do i get setup to reckognize that it needs to instal on /dev/sda?

surfbass 05-06-2006 04:57 PM

how do i get setup to reckognize that it needs to install on /dev/sda?

aikempshall 05-09-2006 07:37 AM

surfbass, are you trying to install slackware on the ipod drive and then, in future, boot slackware directly from that ipod drive? I presume that an ipod drive is

If so I've done something similar with a 20gb USB drive. My posts will be floating around on this forum.

Alex


All times are GMT -5. The time now is 05:21 PM.