View previous topic :: View next topic |
Author |
Message |
JP Linux Guru

Joined: 07 Jul 2025 Posts: 6670 Location: Central Montana
|
Posted: Fri Jun 20, 2025 5:12 am Post subject: |
|
|
I'll practice on something else for a while. this has bummed me out. Thanks all for your advice and encouragement, I'll come back to this in a couple of weeks maybe and see if things change for me .... between this and the sidux mess, I'm just tired of it all, I think I'll just use Puppy and Knoppix for a while. Thanks again, JP
_________________ Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
|
|
Back to top |
|
nukes Linux Guru

Joined: 29 Aug 2025 Posts: 4558
|
Posted: Sat Jun 21, 2025 4:29 am Post subject: |
|
|
ummm... the syntax of mount is:
mount /dev/devicenode /mnt/mountpoint
ALSO didn't linux switch from hdx to sdx?
so wouldn't it be
mount /dev/sda1 /mnt/hda1
?
also, don't you have to bind /dev and /proc to the chroot before you mount it?
_________________ Gentoo x86-64 2.6.29.1
FreeBSD 7-CURRENT
Arch x86 2.6.30
|
|
Back to top |
|
jester Sr. Member

Joined: 19 Apr 2025 Posts: 1166
|
Posted: Sat Jun 21, 2025 4:43 am Post subject: |
|
|
nukes wrote: | ummm... the syntax of mount is:
mount /dev/devicenode /mnt/mountpoint
ALSO didn't linux switch from hdx to sdx?
so wouldn't it be
mount /dev/sda1 /mnt/hda1
?
also, don't you have to bind /dev and /proc to the chroot before you mount it? |
yep, and that's what I suggested in JP's other related thread
/dev/sdxy is for SCSI, SATA, and drives/devices coming of the usb bus - AFAIK, /dev/hdxy is still valid for an IDE drive
|
|
Back to top |
|
nukes Linux Guru

Joined: 29 Aug 2025 Posts: 4558
|
Posted: Sat Jun 21, 2025 4:05 pm Post subject: |
|
|
depends if the kernel is using libata... they started doing that for ATA drives in 2.6.19 iirc. So depends on the kernel you're running and it's configuration. Look through dmesg and that will tell you.
_________________ Gentoo x86-64 2.6.29.1
FreeBSD 7-CURRENT
Arch x86 2.6.30
|
|
Back to top |
|
jbsnake Moderator

Joined: 02 Dec 2025 Posts: 1726 Location: Georgia
|
Posted: Mon Jun 23, 2025 11:19 pm Post subject: |
|
|
well... if you type mount without any parameters... you get a list of devices/blocks that are mounted (or a read out of /etc/mtab)
if you give it just one parameter, it looks for the rest of the info in /etc/fstab, which is why, typically, you end up with the error "xyz is not found in /etc/fstab or in /etc/mtab"
_________________ laptop: Arch Linux - Kernel 2.6.24-ARCH
server: Arch Linux - Kernel 2.6.33-ARCH
|
|
Back to top |
|
masinick Linux Guru

Joined: 03 Apr 2025 Posts: 8615 Location: Concord, NH
|
Posted: Tue Jun 24, 2025 1:39 am Post subject: Use mount with 2 args - device and FS |
|
|
jbsnake wrote: | well... if you type mount without any parameters... you get a list of devices/blocks that are mounted (or a read out of /etc/mtab)
if you give it just one parameter, it looks for the rest of the info in /etc/fstab, which is why, typically, you end up with the error "xyz is not found in /etc/fstab or in /etc/mtab" |
Correct! I rarely mount manually with just one parameter unless the entry is in my fstab with the "auto" parameter, in which case, I may use a quick mounting tool such as kuikdisk or something like that.
From the command line, I am more likely to use Code: | sudo mount /dev/sda5 /media/disk1part5 | or something similar. |
|
Back to top |
|
|