From: Aaron L. <le...@th...> - 2002-02-22 06:19:13
|
First, I must say that I am very impressed with Trinux and I hope that the project continues to live on and develop. I have been looking everywhere for a bootdisk that will load a linux operating system with network support wherever I go. I am sort of new at Linux so please excuse my ignorance. I am trying to mount hard drives. I know that it should be trivial and seems like everyone else can do it but me. Is there some file I need to modify? Here is what I am trying right now: 1. Boot using Trinux (network distro) 2. After successfully leasing an IP from the DHCP server, and getting the files, I log in. 3. I try "mount /dev/hda1 /mnt" --> "/dev/hda1 unknown device" I have tried this on two computers where /dev/hda1 should be NTFS or FAT32. For the NTFS I loaded the ntfs.o kernel module after bootup. Am I doing something blunnderingly stupid? Thanks, -Aaron Lee |
From: Richard T. <ri...@th...> - 2002-02-22 12:13:11
|
My two cents... First, does the mount point /mnt exist? I think Trinux creates mount points for found partitions, but it names them /hda1, etc... Next, check 'dmesg | less' and see what partitions are available. Richard -----Original Message----- From: tri...@li... [mailto:tri...@li...urcefo rge.net]On Behalf Of Aaron Lee Sent: Thursday, February 21, 2002 7:19 PM To: tri...@li... Subject: [Trinux-talk] Newbie Question: Hard Drive Woes First, I must say that I am very impressed with Trinux and I hope that the project continues to live on and develop. I have been looking everywhere for a bootdisk that will load a linux operating system with network support wherever I go. I am sort of new at Linux so please excuse my ignorance. I am trying to mount hard drives. I know that it should be trivial and seems like everyone else can do it but me. Is there some file I need to modify? Here is what I am trying right now: 1. Boot using Trinux (network distro) 2. After successfully leasing an IP from the DHCP server, and getting the files, I log in. 3. I try "mount /dev/hda1 /mnt" --> "/dev/hda1 unknown device" I have tried this on two computers where /dev/hda1 should be NTFS or FAT32. For the NTFS I loaded the ntfs.o kernel module after bootup. Am I doing something blunnderingly stupid? Thanks, -Aaron Lee ________________________________________ _______ Trinux-talk mailing list Tri...@li... https://lists.sourceforge.net/lists/list info/trinux-talk |
From: Matthew F. <mf...@ci...> - 2002-02-25 16:13:02
|
You will need IDE kernel module support. # getpkg 2.4.5/ide.tgz # getpkg 2.4.5/fsmods.tgz After installing the package you should see your hard drives show up if you do a: # dmesg cd /lib/modules for the filesystems you need. > First, I must say that I am very impressed with Trinux and I hope that > the project continues to live on and develop. > > I have been looking everywhere for a bootdisk that will load a linux > operating system with network support wherever I go. > > I am sort of new at Linux so please excuse my ignorance. > > I am trying to mount hard drives. I know that it should be trivial and > seems like everyone else can do it but me. Is there some file I need to > modify? > > Here is what I am trying right now: > > 1. Boot using Trinux (network distro) > 2. After successfully leasing an IP from the DHCP server, and getting the > files, I log in. > 3. I try "mount /dev/hda1 /mnt" --> "/dev/hda1 unknown device" > > I have tried this on two computers where /dev/hda1 should be NTFS or > FAT32. For the NTFS I loaded the ntfs.o kernel module after bootup. > > Am I doing something blunnderingly stupid? > > Thanks, > -Aaron Lee > > > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk > |
From: Aaron L. <le...@th...> - 2002-02-25 16:21:35
|
Yeah thanks a lot! I figured that out Saturday when I looked at the config file for the stable kernel for the net version of Trinux. So I compiled the 2.4.14 kernel to my heart's content and found that it works perfectly. Trinux is awesome. I had a question about how to do something though. I haven't poked around enough to figure out how to do this so I figured I would ask you guys. I want to be able to run a bunch of scripts after login and I was wondering how I would be able to do that. Is there a login script that I can modify to get it to work? I also noticed that the /etc/profile script was meant for ash and not bash. If I modify the /etc/profile and use savecfg will that save the settings for me? Thanks, -Aaron On Mon, 25 Feb 2002, Matthew Franz wrote: > > You will need IDE kernel module support. > > # getpkg 2.4.5/ide.tgz > # getpkg 2.4.5/fsmods.tgz > > After installing the package you should see your hard drives show up if > you do a: > > # dmesg > > cd /lib/modules for the filesystems you need. > > > > > First, I must say that I am very impressed with Trinux and I hope that > > the project continues to live on and develop. > > > > I have been looking everywhere for a bootdisk that will load a linux > > operating system with network support wherever I go. > > > > I am sort of new at Linux so please excuse my ignorance. > > > > I am trying to mount hard drives. I know that it should be trivial and > > seems like everyone else can do it but me. Is there some file I need to > > modify? > > > > Here is what I am trying right now: > > > > 1. Boot using Trinux (network distro) > > 2. After successfully leasing an IP from the DHCP server, and getting the > > files, I log in. > > 3. I try "mount /dev/hda1 /mnt" --> "/dev/hda1 unknown device" > > > > I have tried this on two computers where /dev/hda1 should be NTFS or > > FAT32. For the NTFS I loaded the ntfs.o kernel module after bootup. > > > > Am I doing something blunnderingly stupid? > > > > Thanks, > > -Aaron Lee > > > > > > _______________________________________________ > > Trinux-talk mailing list > > Tri...@li... > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > |
From: Matthew F. <mf...@ci...> - 2002-02-25 16:26:44
|
> I had a question about how to do something though. I haven't poked around > enough to figure out how to do this so I figured I would ask you guys. > > I want to be able to run a bunch of scripts after login and I was > wondering how I would be able to do that. Is there a login script that I > can modify to get it to work? > > I also noticed that the /etc/profile script was meant for ash and not > bash. If I modify the /etc/profile and use savecfg will that save the > settings for me? > The profile .bashrc stuff is "weird" due to some busybox issues. The easiest way to do what you want to do is modify the scripts in /etc/tux/init/ (which are on /tux/init/ on the boot floppy) which allow custom commands to be executed at various stages of the linuxrc. /tux/init/last will get executed at the end and should work - mdf |
From: Aaron L. <le...@th...> - 2002-02-25 19:38:00
|
Hmm... I tried to alias some commands in last but that did not work. According to the readme in the directory, it says that it executes last before it starts up the shell. Is it possible to set up a prompt and alias some commands for bash automatically? Or am I stuck? Thanks, -Aaron On Mon, 25 Feb 2002, Matthew Franz wrote: > > I had a question about how to do something though. I haven't poked around > > enough to figure out how to do this so I figured I would ask you guys. > > > > I want to be able to run a bunch of scripts after login and I was > > wondering how I would be able to do that. Is there a login script that I > > can modify to get it to work? > > > > I also noticed that the /etc/profile script was meant for ash and not > > bash. If I modify the /etc/profile and use savecfg will that save the > > settings for me? > > > > The profile .bashrc stuff is "weird" due to some busybox issues. The > easiest way to do what you want to do is modify the scripts in > /etc/tux/init/ (which are on /tux/init/ on the boot floppy) which allow > custom commands to be executed at various stages of the linuxrc. > > /tux/init/last will get executed at the end and should work > > - mdf > > |
From: Matthew F. <mf...@ci...> - 2002-02-27 14:15:28
|
> Is it possible to set up a prompt and alias some commands for bash > automatically? > > Or am I stuck? > Because of the way the shells are spawned by busybox, .profile .bashrc (setting environment variables within the linuxrc). However if you ssh into the Trinux box, that should work. This was something I messed around with for a while but could never fix it with out breaking things worse, so if somebody could find a workaround that would be great. - mdf |
From: Aaron L. <le...@th...> - 2002-02-27 22:11:22
|
Is the bash running on trinux slightly mutilated? I tried putting the following script into my debian box and the trinux system. It works on debian but not on trinux. Does anyone know why? --------------- #!/usr/bin/bash find1="-iname" find2="*.doc" find $find1 $find2 --------------- Thanks, -Aaron On Wed, 27 Feb 2002, Matthew Franz wrote: > > Is it possible to set up a prompt and alias some commands for bash > > automatically? > > > > Or am I stuck? > > > > Because of the way the shells are spawned by busybox, .profile .bashrc > (setting environment variables within the linuxrc). However if you ssh > into the Trinux box, that should work. This was something I messed around > with for a while but could never fix it with out breaking things worse, so > if somebody could find a workaround that would be great. > > - mdf > > |
From: Matthew F. <mf...@ci...> - 2002-03-01 18:00:58
|
It is bash version 1 from Slackware 7.1 if that helps. > Is the bash running on trinux slightly mutilated? > > I tried putting the following script into my debian box and the trinux > system. It works on debian but not on trinux. Does anyone know why? > > --------------- > #!/usr/bin/bash > find1="-iname" > find2="*.doc" > > find $find1 $find2 > --------------- > > Thanks, > -Aaron > > > On Wed, 27 Feb 2002, Matthew Franz wrote: > > > > Is it possible to set up a prompt and alias some commands for bash > > > automatically? > > > > > > Or am I stuck? > > > > > > > Because of the way the shells are spawned by busybox, .profile .bashrc > > (setting environment variables within the linuxrc). However if you ssh > > into the Trinux box, that should work. This was something I messed around > > with for a while but could never fix it with out breaking things worse, so > > if somebody could find a workaround that would be great. > > > > - mdf > > > > > > > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk > |
From: Aaron L. <le...@th...> - 2002-03-08 16:17:07
|
I have been using trinux as a backup rescue bootdisk for (ironically) Windows machines, and so far everything seems to be working great. I work as a ITS for my university. I have noticed one disturbing thing however. For some inexplicable reason, when I try the bootdisk on some older compaq laptops, the kernel uncompression fails. I don't understand why. I have made a new kernel image with some modified options. Is there some kernel option for compatibility with old compaq laptops? Thanks, -Aaron |
From: Aaron L. <le...@th...> - 2002-03-17 04:51:44
|
Is there a script that trinux runs when the halt command is issued? I just want to do this to automatically umount some of the drives during shutdown Thanks, -Aaron |
From: <HHu...@t-...> - 2002-03-17 08:05:07
|
Hallo, Aaron, Du meintest am 16.03.02 zum Thema [Trinux-talk] When trinux halts...: > Is there a script that trinux runs when the halt command is issued? > I just want to do this to automatically umount some of the drives > during shutdown Just type halt and look for the messages ... Viele Gruesse! Helmut |