Re: version 5.5 install

2010-06-01 Thread Troy Dawson

Hi,
Jon is correct on everything, but I just wanted to expand one thing ... 
at the bottom.


Jon Peatfield wrote:



I have /cdrom directory
but "mount -t /dev/hda /cdrom" or "mount -t /dev/cdrom /cdrom"
both failed.


mount's "-t" option specifies a filesystem type, but without specifying 
one it will probably work out the right one.



this is what I added to fstab
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0

Can anyone suggest how I can mount the cdrom.


In general with sl5 don't add these things into fstab.  The hald and gnome 
volume manager should be handling this if there is a console user.




Jon is correct here for a majority of cases.  If you log in as a normal 
user, and put a cdrom into the cdrom drive, then it will get 
automatically loaded and it will be made accessable to you.


But if you look on our "limitations" page, towards the bottom
http://www.scientificlinux.org/distributions/5x/55/limitations
you will see the following

-
Removable storage devices (such as CDs and DVDs) do not automatically 
mount when you are logged in as root, or in a non graphical enviroment. 
If you are in a graphical enviroment, you will need to manually mount 
the device through the graphical file manager.


Alternatively, you can run the following command to mount a device to 
/media:


mount /dev/[device name] /media

---

So for your case it would be
  mount /dev/hda /cdrom


Troy
--
__
Troy Dawson  daw...@fnal.gov  (630)840-6468
Fermilab  ComputingDivision/LSCS/CSI/USS Group
__


Re: version 5.5 install

2010-05-28 Thread Jon Peatfield

On Fri, 28 May 2010, Pom Sailasuta wrote:


May I ask: why there are two entries each for my dvd and cd rom drives
here is the output


Not that this is related to _booting_ the GX620 from CD/DVD...


//
[r...@pomlinux /dev]# dmesg | grep "hd"
   ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
hda: LITE-ON CD-ROM LTN-4891S, ATAPI CD/DVD-ROM drive
hdb: PHILIPS DVD+/-RW DVD8801, ATAPI CD/DVD-ROM drive


These are from when the IDE probing happens...


hda: ATAPI 48X CD-ROM drive, 96kB Cache, UDMA(33)
hdb: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)


these are from when the CD-ROM driver is loaded and discovers devices it 
can handle.  This is perfectly normal.



SCSI device sda: 488281250 512-byte hdwr sectors (25 MB)
SCSI device sda: 488281250 512-byte hdwr sectors (25 MB)
SCSI device sdb: 1562824368 512-byte hdwr sectors (800166 MB)
SCSI device sdb: 1562824368 512-byte hdwr sectors (800166 MB)
SCSI device sdc: 3907711 512-byte hdwr sectors (2001 MB)
SCSI device sdc: 3907711 512-byte hdwr sectors (2001 MB)


The multiple lines for the SATA devices again seem to be caused by the 
sata driver scanning the devices and then the sd driver doing it's own 
inquiry.


e.g. in one of our Dell GX620 boxes I see messages such as:

...
scsi0 : ata_piix
scsi1 : ata_piix
ata1: SATA max UDMA/133 cmd 0xfe00 ctl 0xfe10 bmdma 0xfea0 irq 58
ata2: SATA max UDMA/133 cmd 0xfe20 ctl 0xfe30 bmdma 0xfea8 irq 58
ata1.00: ATA-8: WDC WD5000AADS-00S9B0, 01.00A01, max UDMA/133
ata1.00: 976773168 sectors, multi 8: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
  Vendor: ATA   Model: WDC WD5000AADS-0  Rev: 01.0
  Type:   Direct-Access  ANSI SCSI revision: 05
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
 sda: sda1 sda2
sd 0:0:0:0: Attached scsi disk sda
...


I have /cdrom directory
but "mount -t /dev/hda /cdrom" or "mount -t /dev/cdrom /cdrom"
both failed.


mount's "-t" option specifies a filesystem type, but without specifying 
one it will probably work out the right one.



this is what I added to fstab
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0

Can anyone suggest how I can mount the cdrom.


In general with sl5 don't add these things into fstab.  The hald and gnome 
volume manager should be handling this if there is a console user.



thanks



On Fri, May 28, 2010 at 8:42 AM, Jon Peatfield <
j.s.peatfi...@damtp.cam.ac.uk> wrote:


On Mon, 24 May 2010, Pom Sailasuta wrote:

...

 I can not removed the old drive and just simply use this 800GB drive

because
my Dell Optiplex GX620 does not have option for boot from CD or DVD,
I have only two options either hard drive or USB CD ROM.


...

I've seen many Dell Optiplex GX620 machines and none which can't be set to
boot from:

 PXE network-boot
 USB flash/disk
 internal-harddisk
 internal CD/DVD
 internal floppy
 USB CD/DVD

are you sure it won't boot from the internal CD/DVD?  ie is the drive
missing or dead?  If you have a working internal CD/DVD drive then booting
from it probably just needs to be enabled in the BIOS...

 -- Jon


--
/\
| "Computers are different from telephones.  Computers do not ring." |
|   -- A. Tanenbaum, "Computer Networks", p. 32  |
-|
| Jon Peatfield, _Computer_ Officer, DAMTP,  University of Cambridge |
| Mail:  jp...@damtp.cam.ac.uk Web:  http://www.damtp.cam.ac.uk/ |
\/


Re: version 5.5 install

2010-05-28 Thread Pom Sailasuta
May I ask: why there are two entries each for my dvd and cd rom drives
here is the output
//
[r...@pomlinux /dev]# dmesg | grep "hd"
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
hda: LITE-ON CD-ROM LTN-4891S, ATAPI CD/DVD-ROM drive
hdb: PHILIPS DVD+/-RW DVD8801, ATAPI CD/DVD-ROM drive
hda: ATAPI 48X CD-ROM drive, 96kB Cache, UDMA(33)
hdb: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
SCSI device sda: 488281250 512-byte hdwr sectors (25 MB)
SCSI device sda: 488281250 512-byte hdwr sectors (25 MB)
SCSI device sdb: 1562824368 512-byte hdwr sectors (800166 MB)
SCSI device sdb: 1562824368 512-byte hdwr sectors (800166 MB)
SCSI device sdc: 3907711 512-byte hdwr sectors (2001 MB)
SCSI device sdc: 3907711 512-byte hdwr sectors (2001 MB)
//

I have /cdrom directory
but "mount -t /dev/hda /cdrom" or "mount -t /dev/cdrom /cdrom"
both failed.
this is what I added to fstab
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0

Can anyone suggest how I can mount the cdrom.

thanks



On Fri, May 28, 2010 at 8:42 AM, Jon Peatfield <
j.s.peatfi...@damtp.cam.ac.uk> wrote:

> On Mon, 24 May 2010, Pom Sailasuta wrote:
>
> ...
>
>  I can not removed the old drive and just simply use this 800GB drive
>> because
>> my Dell Optiplex GX620 does not have option for boot from CD or DVD,
>> I have only two options either hard drive or USB CD ROM.
>>
> ...
>
> I've seen many Dell Optiplex GX620 machines and none which can't be set to
> boot from:
>
>  PXE network-boot
>  USB flash/disk
>  internal-harddisk
>  internal CD/DVD
>  internal floppy
>  USB CD/DVD
>
> are you sure it won't boot from the internal CD/DVD?  ie is the drive
> missing or dead?  If you have a working internal CD/DVD drive then booting
> from it probably just needs to be enabled in the BIOS...
>
>  -- Jon
>


Re: version 5.5 install

2010-05-26 Thread Pom Sailasuta
I just got new error during boot time.
It can not mount /dev/sdb1, sdb2 and sdb3, error about wrong file system
and bad superblock.
Can you please suggestion partitioning of this new 800GB drive?

Here is my grub file:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#  all kernel and initrd paths are relative to /boot/, eg.
#  root (hd0,1)
#  kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#  initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5smp)
root (hd0,1)
kernel /vmlinuz-2.6.15-1.2054_FC5smp ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.15-1.2054_FC5smp.img
title Other
rootnoverify (hd0,0)
chainloader +1

//


thank you so much for your help.

On Wed, May 26, 2010 at 4:35 AM, Troy Dawson  wrote:

> Pom Sailasuta wrote:
>
>> Please see my question below
>>
>> On Tue, May 25, 2010 at 10:38 AM, Troy Dawson > daw...@fnal.gov>> wrote:
>>
>>Garrett Holmstrom wrote:
>>
>>On 24 May 2010, at 17:20, Pom Sailasuta wrote:
>>
>>I would like to install Sc-Linux version 5.5 on my desktop
>>which is a dual boot system (Fedora core 2 and Win XP, hard
>>drive capacity is 280GB, which I think is dying).
>>I would like to do this on my new 800GB hard disk currently
>>empty and mounted on /dev/sbd with 3 partitions, first
>>parition is for linux, second is for swap and third covers
>>the entire disk.
>>Ultimately, if this works out, I will remove my old 280GB
>>drive and only use the new 800GB drive, no dual boot this
>>time, just linux.
>> I would apprecaite any suggestion on how to do this.
>>I can not removed the old drive and just simply use this
>>800GB drive because my Dell Optiplex GX620 does not have
>>option for boot from CD or DVD,
>>I have only two options either hard drive or USB CD ROM.
>>
>>
>>In this scenario I usually download the installer's kernel and
>>initramfs, put them in /boot, add a GRUB entry for them, and
>>boot from the hard drive.  It will ask you for a URI for the
>>installation tree, at which point you can point it to an
>>appropriate place on a SL mirror.
>>
>>Garrett is correct, but just incase you need a little more detail.
>>Do the following as root in your current fedore core 2
>>
>> mkdir /boot/55
>> cd /boot/55
>> wget
>>
>> http://ftp1.scientificlinux.org/linux/scientific/55/i386/images/pxeboot/initrd.img
>> wget
>>
>> http://ftp1.scientificlinux.org/linux/scientific/55/i386/images/pxeboot/vmlinuz
>>
>> Done up to here so far
>>
>> vi /boot/grub/grub.conf
>>
>>
>> my grub.conf file
>> 
>> [r...@pomlinux 55]# more /etc/fstab
>> /dev/VolGroup00/LogVol00 /   ext3defaults1
>> 1
>> LABEL=/boot /boot   ext3defaults1
>> 2
>> devpts  /dev/ptsdevpts  gid=5,mode=620  0
>> 0
>> tmpfs   /dev/shmtmpfs   defaults0
>> 0
>> proc/proc   procdefaults0
>> 0
>> sysfs   /syssysfs   defaults0
>> 0
>> /dev/VolGroup00/LogVol01 swapswapdefaults0
>> 0
>> /dev/sda1   /mnt/windowsntfs-3g defaults0
>> 0
>> /dev/sdb1   /disk800ext3defaults1
>> 2
>> /dev/sdb2   /disk801ext3defaults1
>> 2
>> /dev/sdb3   /disk802ext3defaults1
>> 2
>>
>>
> This is not your grub file, this is your /etc/fstab
> Do a
>  cat /boot/grub/grub.conf
>
> Troy
>
> add the following section if you have a separate /boot/ partition
>>change "root (hd0,1)" to whatever the line is for your current linux
>> title Install SL 55
>>   root (hd0,1)
>>   kernel /54/vmlinuz
>>   initrd /54/initrd.img
>>add the following section if you do not have a separate /boot/
>> partition
>>change "root (hd0,1)" to whatever the line is for your current linux
>> title Install SL 55
>>   root (hd0,1)
>>   kernel /boot/54/vmlinuz
>>   initrd /boot/54/initrd.img
>>
>>
>>reboot your machine, and pick "Install SL 55" at grub.
>>When the time comes, select install via http and put in the url
>>http://ftp1.scientificlinux.org/linux/scientific/55/i386/
>>or whatever your favorite mirror is.
>

Re: version 5.5 install

2010-05-26 Thread Troy Dawson

Pom Sailasuta wrote:

Please see my question below

On Tue, May 25, 2010 at 10:38 AM, Troy Dawson > wrote:


Garrett Holmstrom wrote:

On 24 May 2010, at 17:20, Pom Sailasuta wrote:

I would like to install Sc-Linux version 5.5 on my desktop
which is a dual boot system (Fedora core 2 and Win XP, hard
drive capacity is 280GB, which I think is dying).
I would like to do this on my new 800GB hard disk currently
empty and mounted on /dev/sbd with 3 partitions, first
parition is for linux, second is for swap and third covers
the entire disk.
Ultimately, if this works out, I will remove my old 280GB
drive and only use the new 800GB drive, no dual boot this
time, just linux.
 I would apprecaite any suggestion on how to do this.
I can not removed the old drive and just simply use this
800GB drive because my Dell Optiplex GX620 does not have
option for boot from CD or DVD,
I have only two options either hard drive or USB CD ROM.


In this scenario I usually download the installer's kernel and
initramfs, put them in /boot, add a GRUB entry for them, and
boot from the hard drive.  It will ask you for a URI for the
installation tree, at which point you can point it to an
appropriate place on a SL mirror.

Garrett is correct, but just incase you need a little more detail.
Do the following as root in your current fedore core 2

 mkdir /boot/55
 cd /boot/55
 wget

http://ftp1.scientificlinux.org/linux/scientific/55/i386/images/pxeboot/initrd.img
 wget

http://ftp1.scientificlinux.org/linux/scientific/55/i386/images/pxeboot/vmlinuz

Done up to here so far
 


 vi /boot/grub/grub.conf


my grub.conf file

[r...@pomlinux 55]# more /etc/fstab
/dev/VolGroup00/LogVol00 /   ext3defaults1 1
LABEL=/boot /boot   ext3defaults1 2
devpts  /dev/ptsdevpts  gid=5,mode=620  0 0
tmpfs   /dev/shmtmpfs   defaults0 0
proc/proc   procdefaults0 0
sysfs   /syssysfs   defaults0 0
/dev/VolGroup00/LogVol01 swapswapdefaults0 0
/dev/sda1   /mnt/windowsntfs-3g defaults0 0
/dev/sdb1   /disk800ext3defaults1 2
/dev/sdb2   /disk801ext3defaults1 2
/dev/sdb3   /disk802ext3defaults1 2



This is not your grub file, this is your /etc/fstab
Do a
  cat /boot/grub/grub.conf

Troy


add the following section if you have a separate /boot/ partition
change "root (hd0,1)" to whatever the line is for your current linux
 title Install SL 55
   root (hd0,1)
   kernel /54/vmlinuz
   initrd /54/initrd.img
add the following section if you do not have a separate /boot/ partition
change "root (hd0,1)" to whatever the line is for your current linux
 title Install SL 55
   root (hd0,1)
   kernel /boot/54/vmlinuz
   initrd /boot/54/initrd.img


reboot your machine, and pick "Install SL 55" at grub.
When the time comes, select install via http and put in the url
http://ftp1.scientificlinux.org/linux/scientific/55/i386/
or whatever your favorite mirror is.

Hope this helps.
Troy
-- 
__

Troy Dawson  daw...@fnal.gov   (630)840-6468
Fermilab  ComputingDivision/LSCS/CSI/USS Group
__





--
__
Troy Dawson  daw...@fnal.gov  (630)840-6468
Fermilab  ComputingDivision/LSCS/CSI/USS Group
__


Re: version 5.5 install

2010-05-25 Thread Pom Sailasuta
Please see my question below

On Tue, May 25, 2010 at 10:38 AM, Troy Dawson  wrote:

> Garrett Holmstrom wrote:
>
>> On 24 May 2010, at 17:20, Pom Sailasuta wrote:
>>
>>  I would like to install Sc-Linux version 5.5 on my desktop which is a
>>> dual boot system (Fedora core 2 and Win XP, hard drive capacity is 280GB,
>>> which I think is dying).
>>> I would like to do this on my new 800GB hard disk currently empty and
>>> mounted on /dev/sbd with 3 partitions, first parition is for linux, second
>>> is for swap and third covers the entire disk.
>>> Ultimately, if this works out, I will remove my old 280GB drive and only
>>> use the new 800GB drive, no dual boot this time, just linux.
>>>  I would apprecaite any suggestion on how to do this.
>>> I can not removed the old drive and just simply use this 800GB drive
>>> because my Dell Optiplex GX620 does not have option for boot from CD or DVD,
>>> I have only two options either hard drive or USB CD ROM.
>>>
>>
>> In this scenario I usually download the installer's kernel and initramfs,
>> put them in /boot, add a GRUB entry for them, and boot from the hard drive.
>>  It will ask you for a URI for the installation tree, at which point you can
>> point it to an appropriate place on a SL mirror.
>>
>>  Garrett is correct, but just incase you need a little more detail.
> Do the following as root in your current fedore core 2
>
>  mkdir /boot/55
>  cd /boot/55
>  wget
> http://ftp1.scientificlinux.org/linux/scientific/55/i386/images/pxeboot/initrd.img
>  wget
> http://ftp1.scientificlinux.org/linux/scientific/55/i386/images/pxeboot/vmlinuz
>
> Done up to here so far


>  vi /boot/grub/grub.conf
>

my grub.conf file

[r...@pomlinux 55]# more /etc/fstab
/dev/VolGroup00/LogVol00 /   ext3defaults1 1
LABEL=/boot /boot   ext3defaults1 2
devpts  /dev/ptsdevpts  gid=5,mode=620  0 0
tmpfs   /dev/shmtmpfs   defaults0 0
proc/proc   procdefaults0 0
sysfs   /syssysfs   defaults0 0
/dev/VolGroup00/LogVol01 swapswapdefaults0 0
/dev/sda1   /mnt/windowsntfs-3g defaults0 0
/dev/sdb1   /disk800ext3defaults1 2
/dev/sdb2   /disk801ext3defaults1 2
/dev/sdb3   /disk802ext3defaults1 2

add the following section if you have a separate /boot/ partition
> change "root (hd0,1)" to whatever the line is for your current linux
>  title Install SL 55
>root (hd0,1)
>kernel /54/vmlinuz
>initrd /54/initrd.img
> add the following section if you do not have a separate /boot/ partition
> change "root (hd0,1)" to whatever the line is for your current linux
>  title Install SL 55
>root (hd0,1)
>kernel /boot/54/vmlinuz
>initrd /boot/54/initrd.img
>
>
> reboot your machine, and pick "Install SL 55" at grub.
> When the time comes, select install via http and put in the url
> http://ftp1.scientificlinux.org/linux/scientific/55/i386/
> or whatever your favorite mirror is.
>
> Hope this helps.
> Troy
> --
> __
> Troy Dawson  daw...@fnal.gov  (630)840-6468
> Fermilab  ComputingDivision/LSCS/CSI/USS Group
> __
>


Re: version 5.5 install

2010-05-25 Thread Troy Dawson

Garrett Holmstrom wrote:

On 24 May 2010, at 17:20, Pom Sailasuta wrote:


I would like to install Sc-Linux version 5.5 on my desktop which is a dual boot 
system (Fedora core 2 and Win XP, hard drive capacity is 280GB, which I think 
is dying).
I would like to do this on my new 800GB hard disk currently empty and mounted 
on /dev/sbd with 3 partitions, first parition is for linux, second is for swap 
and third covers the entire disk.
Ultimately, if this works out, I will remove my old 280GB drive and only use 
the new 800GB drive, no dual boot this time, just linux.
 
I would apprecaite any suggestion on how to do this.

I can not removed the old drive and just simply use this 800GB drive because my 
Dell Optiplex GX620 does not have option for boot from CD or DVD,
I have only two options either hard drive or USB CD ROM.


In this scenario I usually download the installer's kernel and initramfs, put 
them in /boot, add a GRUB entry for them, and boot from the hard drive.  It 
will ask you for a URI for the installation tree, at which point you can point 
it to an appropriate place on a SL mirror.


Garrett is correct, but just incase you need a little more detail.
Do the following as root in your current fedore core 2

  mkdir /boot/55
  cd /boot/55
  wget 
http://ftp1.scientificlinux.org/linux/scientific/55/i386/images/pxeboot/initrd.img
  wget 
http://ftp1.scientificlinux.org/linux/scientific/55/i386/images/pxeboot/vmlinuz


  vi /boot/grub/grub.conf
add the following section if you have a separate /boot/ partition
change "root (hd0,1)" to whatever the line is for your current linux
  title Install SL 55
root (hd0,1)
kernel /54/vmlinuz
initrd /54/initrd.img
add the following section if you do not have a separate /boot/ partition
change "root (hd0,1)" to whatever the line is for your current linux
  title Install SL 55
root (hd0,1)
kernel /boot/54/vmlinuz
initrd /boot/54/initrd.img


reboot your machine, and pick "Install SL 55" at grub.
When the time comes, select install via http and put in the url
http://ftp1.scientificlinux.org/linux/scientific/55/i386/
or whatever your favorite mirror is.

Hope this helps.
Troy
--
__
Troy Dawson  daw...@fnal.gov  (630)840-6468
Fermilab  ComputingDivision/LSCS/CSI/USS Group
__


Re: version 5.5 install

2010-05-25 Thread Garrett Holmstrom
On 24 May 2010, at 17:20, Pom Sailasuta wrote:

> I would like to install Sc-Linux version 5.5 on my desktop which is a dual 
> boot system (Fedora core 2 and Win XP, hard drive capacity is 280GB, which I 
> think is dying).
> I would like to do this on my new 800GB hard disk currently empty and mounted 
> on /dev/sbd with 3 partitions, first parition is for linux, second is for 
> swap and third covers the entire disk.
> Ultimately, if this works out, I will remove my old 280GB drive and only use 
> the new 800GB drive, no dual boot this time, just linux.
>  
> I would apprecaite any suggestion on how to do this.
> I can not removed the old drive and just simply use this 800GB drive because 
> my Dell Optiplex GX620 does not have option for boot from CD or DVD,
> I have only two options either hard drive or USB CD ROM.

In this scenario I usually download the installer's kernel and initramfs, put 
them in /boot, add a GRUB entry for them, and boot from the hard drive.  It 
will ask you for a URI for the installation tree, at which point you can point 
it to an appropriate place on a SL mirror.

--
Garrett Holmstrom
University of Minnesota School of Physics and Astronomy
Systems Staff


version 5.5 install

2010-05-24 Thread Pom Sailasuta
Hello,

I would like to install Sc-Linux version 5.5 on my desktop which is a dual
boot system (Fedora core 2 and Win XP, hard drive capacity is 280GB, which I
think is dying).
I would like to do this on my new 800GB hard disk currently empty and
mounted on /dev/sbd with 3 partitions, first parition is for linux, second
is for swap and third covers the entire disk.
Ultimately, if this works out, I will remove my old 280GB drive and only use
the new 800GB drive, no dual boot this time, just linux.

I would apprecaite any suggestion on how to do this.
I can not removed the old drive and just simply use this 800GB drive because
my Dell Optiplex GX620 does not have option for boot from CD or DVD,
I have only two options either hard drive or USB CD ROM.

thanks
Pom