Howto auto boot SPARC | How to auto supply "start /SYS" and "start /SP/console" commands


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Howto auto boot SPARC | How to auto supply "start /SYS" and "start /SP/console" commands
# 1  
Old 10-29-2019
Howto auto boot SPARC | How to auto supply "start /SYS" and "start /SP/console" commands

When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ?
# 2  
Old 10-29-2019
Hi,

I'm going to make an assumption here that you want the actual host to auto boot, not the Service Processor to automatiaclly start the console to the host.

To set the host to auto boot from the ILOM you need to run the command;

Code:
-> set /HOST/bootmode script=”¯setenv auto-boot? true”¯
-> reset /SYS
-> start /HOST/console

You should then be able to watch the host boot to the login banner and login as normal.

Regards

Gull04

Last edited by gull04; 10-29-2019 at 05:05 AM.. Reason: Early Morning Typo's
This User Gave Thanks to gull04 For This Post:
# 3  
Old 10-29-2019
When I power on the machine I am still not able to boot OS. I dropped at


ORACLESP-AK00118201 login:



Below is a complete boot snapshot


Code:
Oct 29 13:01:31 SPARCT4-1 poweroff: initiated by USER-1 on /dev/console
Oct 29 13:01:38 SPARCT4-1 syslogd: going down on signal 15
Terminated
USER-1@SPARCT4-1:~$ syncing file systems... done

Primary Bootstrap.


U-Boot 1.1.4

Custom AST2100 U-Boot 3.0 (Jun 18 2013 - 13:48:01) r81935

VGA buffer reserved 0x800000 bytes at 0x7800000
sptrace allocated 0x100000 bytes at 0x7700000
DRAM:  119 MB
Flash bank 0 at 10000000 has 32MB in 256 sectors (chipSize 1<<25, ratio 1, bufSz 64).
Flash bank 1 at 12000000 has 32MB in 256 sectors (chipSize 1<<25, ratio 1, bufSz 64).
Flash: 64 MB
Protecting U-Boot flash sectors; monitor_base=10040000.
H/W:   AST2200 SP Service Processor; SOC: AST2200 Rev. 02 ('A0')
  ARM restart caused by: power-on
  Galactic1: 0x400429c0, Galactic2: 0x0
  The host is OFF(S5) (hostWantsPwr=0, powerGood=0,
        allowPwrOn=1|0, outOfReset=0, fatalError=0).
  Reset straps=0x08819180, def. H-PLL=264 MHz, CPU/AHB=2:1, boot CS0# normal speed
  PCI w/VGA noVBIOS;  NOR 38ns/byte;  DRAM clock is M-PLL: 264 MHz (DDR2-528)
  DRAM: 128MB data - 8MB VGA, 32-bit noECC, 2 BA 10 CA, CL=4 BL=4 ap=1, 61440 us refr, DQSipv=0x2020202

FPGA Version : 1.6.2.1
Date: 2019-10-29 (Tuesday)    Time:  7:54:33
Net:   MAC1 PHY not ready faradaynic#0, faradaynic#1
Enter Diagnostics Mode ['q'uick/'n'ormal(default)/e'x'tended(manufacturing mode)] .....   0
Diagnostics Mode - NORMAL
<DIAGS> Memory Data Bus Test ... PASSED
<DIAGS> Memory Address Bus Test ... PASSED
I2C Probe Test - SP
        Bus     Device                          Address Result
        ===     ============================    ======= ======
         6                  SP FRUID (U1101)    0xA0    PASSED
         6               DS1338(RTC) (U1102)    0xD0    PASSED

<DIAGS> PHY #0 R/W Test ... PASSED
<DIAGS> PHY #0 Link Status ... FAILED
MAC1 PHY not ready <DIAGS> ETHERNET PHY #0, Internal Loopback Test ... PASSED
checking for abnormal reboots: 0.
Booting linux in 0 seconds...
Un-Protect Flash Bank # 1
Un-Protect Flash Bank # 2
flctrl: Recovery U-Boot (r80526) at 0x11040000 is valid (min. r39727).
Trying primary image...
Trying to boot package at 100a0000
Found kernel image at 100a2000
Found root image at 101f5a48
copying 0x00054040 bytes from 0x101f5a48 to 0x00800000
bootargs= root=/dev/ram  ramdisk_size=336  console=ttyS0,9600 bigphysarea=6144 ractrends.mtdblocks=env,0x20000,0x20000,realroot,0x340000,0xc40000,vbscdir,0xfa0000,0x40000,params,0x2000000,0x400000,persist,0x2400000,0x1000000,coredump,0x3400000,0xc00000,
## Booting image at 100a2000 ...
   Image Name:   Linux-2.6.27.43
   Created:      2013-06-18  19:55:52 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1391112 Bytes =  1.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
do_bootm_linux() armlinux.c:109
  bootm
  0x100a2000
  0x00800000
theKernel=00008000
do_bootm_linux() armlinux.c:126 - 9
## Loading Ramdisk Image at 00800000 ...
do_bootm_linux() armlinux.c:160 - 10
   Image Name:
   Created:      2013-06-18  21:06:59 UTC
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    344064 Bytes = 336 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
do_bootm_linux() armlinux.c:187 - 11
do_bootm_linux() armlinux.c:250 - 15
arch_number = 0x00000386
env_t       = 0x01ED0008
boot_params = 0x40000100
DRAM bank   = 0x00000000
-> start    = 0x00000000
-> size     = 0x07700000
ethaddr     = 00:10:E0:3A:E5:ED
eth1addr    = 00:10:E0:3A:E5:EC
ip_addr     = 0.0.0.0
baudrate    = 9600 bps
Sun extensions:
  bi_UBootEnvAddr     = 0x10020000
  bi_UBootEnvSize     = 0x00020000
  bi_flashstart       = 0x10000000
  bi_flashsize        = 0x04000000
  bi_flashbanksize    = 0x02000000
  bi_flashbanks       = 0x02
  bi_flashbankwidth   = 0x01
  bi_flashsectorsize  = 0x00020000
  bi_flashsectorcount = 0x00000200
  bi_boottype         = 0x02
  bi_primarytype      = 0x02
  bi_secondarytype    = 0x02
  bi_booted           = 0x100a0000
  bi_primary          = 0x10040000
  bi_secondary        = 0x11040000
  bi_primaryhdr       = 0x100a0000
  bi_secondaryhdr     = 0x110a0000
  bi_imagearea0       = 0x10040000
  bi_imagearea1       = 0x11040000
  bi_maximagesize     = 0x00fc0000
  bi_min_firmware_rev = 0
  bi_sptrace_base     = 0x07700000
  bi_sptrace_len      = 0x00100000
  bi_vga_driver_base  = 0x00000000
  bi_vga_driver_len   = 0x00000000
  bi_apbclockhz       = 0x03ef1480

H/W:   AST2200 SP Service Processor; SOC: AST2200 Rev. 02 ('A0')
  The host is OFF(S5) (hostWantsPwr=0, powerGood=0,
        allowPwrOn=1|0, outOfReset=0, fatalError=0).
  ARM Control reg: RR=0 HV=0 IC=1 BPd=0 RomP=0 SysP=0 BE=0 WB=1 DC=0 AlinFlt=1 MMU=0
  Cache Type reg: CType=0xe WB, sep.; I: 16KB of 32B lines 4-way; D: 16KB of 32B lines 4-way
        IC locked ways(3:0): 0000b, DC locked ways: 0000b
  Reset straps=0x08819180, def. H-PLL=264 MHz, CPU/AHB=2:1, boot CS0# normal speed
  H-PLL (params=0x04291) 264.000 MHz, M-PLL params=0x04120-->264.000 MHz
  CPUCLK: H-PLL/1=264 MHz, AHB HCLK: CPUCLK/2=132 MHz, APB PCLK: H-PLL/4= 66 MHz
  PCI w/VGA noVBIOS;  NOR 38ns/byte;  DRAM clock is M-PLL: 264 MHz (DDR2-528)
  Bus-master-mode clocks: LPC LHCLK= 33 MHz
  Stopped clocks: vidCap-1, SP-Display, HACE
  DRAM: 128MB data - 8MB VGA, 32-bit noECC, 2 BA 10 CA, CL=4 BL=4 ap=1, 61440 us refr, DQSipv=0x2020202
  Reset controls: HACE, PwmFt, PECI, displays, MDMA
  Register protect: SCU UNprot, DMC prot, AHBC prot, VIC U-prot
  Ethernet MAC-PHY interface mode=6 (RMII + RMII), no MII2DC+DIO pins
do_bootm_linux() armlinux.c:266
do_bootm_linux() armlinux.c:269
do_bootm_linux() armlinux.c:273
do_bootm_linux() armlinux.c:277
do_bootm_linux() armlinux.c:289
do_bootm_linux() armlinux.c:293
do_bootm_linux() armlinux.c:297
do_bootm_linux() armlinux.c:305
Galactic register 1: 400529c0
Starting watchdog timer.
ast_init_watchdog: SCU registers are already unlocked.

Starting kernel at 0x00008000...

do_bootm_linux() armlinux.c:330
do_bootm_linux() armlinux.c:334 (0x00000386,0x40000100)
Uncompressing Linux.......................................................................................... done, booting the kernel.
Linux version 2.6.27.43 (cboland@sanpen-rh5-3) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 Tue Jun 18 12:55:41 PDT 2013
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: ASPEED-AST2100
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 30226
Kernel command line: root=/dev/ram  ramdisk_size=336  console=ttyS0,9600 bigphysarea=6144 ractrends.mtdblocks=env,0x20000,0x20000,realroot,0x340000,0xc40000,vbscdir,0xfa0000,0x40000,params,0x2000000,0x400000,persist,0x2400000,0x1000000,coredump,0x3400000,0xc00000,
PID hash table entries: 512 (order: 9, 2048 bytes)
console [ttyS0] enabled
mach/timer.c: Just lost 87 clock interrupts.
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 119MB = 119MB total
Memory: 92756KB available (2564K code, 232K data, 120K init)
Calibrating delay loop... 131.48 BogoMIPS (lpj=657408)
Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
CPU: Testing write buffer coherency: ok
net_namespace: 804 bytes
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 336K
NetWinder Floating Point Emulator V0.97 (double precision)
bigphysarea: Allocated 6144 pages at 0xc0855000.
squashfs: version 3.4 (2008/08/26) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
JFFS2 version 2.2. (NAND) Ā© 2001-2006 Red Hat, Inc.
msgmni has been set to 182
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered (default)
ttyS0 at MMIO 0x1e783000 (irq = 9) is a GUC-ASPEED UART
ttyS1 at MMIO 0x1e784000 (irq = 10) is a GUC-ASPEED UART
brd: module loaded
loop: module loaded
FTGMAC100: ASPEED FTGMAC Driver, (Linux Kernel 2.6.28.9) 09/18/2010 - by ASPEED (NAPIv1.1 delay-work, bgt-16,periodic-1,2,3,4,WqJed)
FTGMAC100: eth0: at 0xfe660000 IRQ:2 noWait:0, MAC 00:10:e0:3a:e5:ed
FTGMAC100: eth0:ftgmac100_reset, phyAddr=0x0, miiPhyId=0x0040_61e4
FTGMAC100: lp->rx_descs = ffc00000, lp->rx_rx_descs_dma = 7172000
FTGMAC100: lp->rx_buf = 00000000, lp->rx_buf_dma = 0
FTGMAC100: lp->tx_descs = ffc01000, lp->tx_rx_descs_dma = 7184000
FTGMAC100: lp->tx_buf = 00000000, lp->tx_buf_dma = 0
ftgmac100_init: dev->priv5 is c704d000
FTGMAC100: eth1: at 0xfe680000 IRQ:3 noWait:0, MAC 00:10:e0:3a:e5:ec
FTGMAC100: eth1:ftgmac100_reset, phyAddr=0xff, miiPhyId=0x0000_0002
FTGMAC100: lp->rx_descs = ffc02000, lp->rx_rx_descs_dma = 7189000
FTGMAC100: lp->rx_buf = 00000000, lp->rx_buf_dma = 0
FTGMAC100: lp->tx_descs = ffc03000, lp->tx_rx_descs_dma = 719c000
FTGMAC100: lp->tx_buf = 00000000, lp->tx_buf_dma = 0
ftgmac100_init: dev->priv5 is c7188800
Ractrends Flash mapping: 0x2000000 at 0x10000000
Bank #0: Found 1 x16 devices at 0x0 in 8-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
Bank #0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
Ractrends Flash mapping: 0x2000000 at 0x12000000
Bank #1: Found 1 x16 devices at 0x0 in 8-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
Bank #1: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
Number of banks found = 2
Concatenating MTD devices:
(0): "Bank #0"
(1): "Bank #1"
into device "Concatenated Flash Banks"
GetMTDPartitions() says string is "env,0x20000,0x20000,realroot,0x340000,0xc40000,vbscdir,0xfa0000,0x40000,params,0x2000000,0x400000,persist,0x2400000,0x1000000,coredump,0x3400000,0xc00000,"
MTD Partition 0 : fullpart @ 0x0 of Size 0x4000000
MTD Partition 1 : env @ 0x20000 of Size 0x20000
MTD Partition 2 : realroot @ 0x340000 of Size 0xc40000
MTD Partition 3 : vbscdir @ 0xfa0000 of Size 0x40000
MTD Partition 4 : params @ 0x2000000 of Size 0x400000
MTD Partition 5 : persist @ 0x2400000 of Size 0x1000000
MTD Partition 6 : coredump @ 0x3400000 of Size 0xc00000
FlashSize=0x2000000, PartitionCount=7
Creating 7 MTD partitions on "Concatenated Flash Banks":
0x00000000-0x04000000 : "fullpart"
0x00020000-0x00040000 : "env"
0x00340000-0x00f80000 : "realroot"
0x00fa0000-0x00fe0000 : "vbscdir"
0x02000000-0x02400000 : "params"
0x02400000-0x03400000 : "persist"
0x03400000-0x04000000 : "coredump"
wdt: WDT is installed.
wdt: WDT nowayout = 1, heartbeat = 30 secs
wdt: WDT guardstartupshutdown = 1
wdt: WDT startuptimeout = 600, shutdowntimeout = 60
wdt: WDT was enabled at driver start, time remaining 53 secs.
wdt: Guarding startup, setting watchdog for 600 seconds.
nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Plase use
nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RAMDISK: squashfs filesystem found at block 0
RAMDISK: Loading 333KiB [1 disk] into ram disk... done.
VFS: Mounted root (squashfs filesystem) readonly.
Freeing init memory: 120K
INIT: version 2.88 booting
Creating /var tmpfs
Creating directories in /var...done.
Creating /var/log tmpfs...done.
Running ldconfig...done
Starting early kernel log daemon: klogd.
Cleaning up ifupdown....
Calculating module dependencies... done.
Loading kernel module flashinfo.
Loading kernel module helper.
Loading kernel module dbgpersist.
Loading kernel module gpiomgr.
Loading kernel module gpioint.
Loading kernel module fpga.
Loading kernel module fpgaflash.
Loading kernel module i2c-core.
Loading kernel module i2c-dev.
Loading kernel module i2c-algo-as.
Loading kernel module i2c-aspeed.
Loading kernel module i2c-boardinfo.
Loading kernel module videocap.
Loading kernel module usb.
Loading kernel module sptrace.
Mounted vbsc
00:00:32 Checking device file systems
00:00:33 Checking persist...
00:00:40 Checking params...
00:00:44 Checking coredump...
00:00:50 Finished check of device file systems

Checking configuration files state ...
Image date:  Tue Jun 18 14:06:24 PDT 2013       Image revision: 81935
Conf date:   Tue Jun 18 14:06:24 PDT 2013       Conf revision:  81935
Configuration files state good after upgrade.
Setting the system clock.
System Clock set to: Tue Oct 29 07:55:46 UTC 2019.
Initializing SP Trace Buffers
Setting up networking....
Will now mount local filesystems:.
Will now activate swapfile swap:done.
Cleaning up temporary files...Cleaning /var/run...done.
Cleaning /var/lock...done.
.
Starting capidirect daemon: capidirectd . Done

Starting Platform Initialization: platinit.
Verifying platform...done.
Setting hostname to 'ORACLESP-AK00118201'...Hostname: ORACLESP-AK00118201.

done.
Configuring IPv6...done
Calling iptables-restore
Calling ip6tables-restore
Configuring network interfaces...SIOCSIFNETMASK: Cannot assign requested address
SIOCSIFBRDADDR: Cannot assign requested address
Failed to bring up eth1.
done.
Setting kernel variables ... /etc/sysctl.conf...net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
kernel.core_pattern = |/usr/local/sbin/compress_coredump /coredump/%h.%e.core.%p
done.
Initializing random number generator...done.
Starting portmap daemon....
Starting NFS common utilities:.
Cleaning up temporary files....
Mounted all disk partitions.
Created links for vbsc
Starting ILOM Watchdog daemon.
 Done
populating memstore vars from disk
Running plat...System has been identified as: 2U, 8 disks, rev 5
Preparsing sensor.xml... ( took 3 seconds ) done
Probing frus ...done
Done running plat
Identifying Product Data...Done
Setting poweron delay...
Starting Dynamic FRUID Daemon early init: dynafrud_early_init  Done (0)
forward all
S96ipforwarding.sh: forward_all static
INIT: Entering runlevel: 3
Preparsing sensor.xml... ( took 0 seconds ) done
Starting Event Manager: eventmgr  . Done
Starting ipmi log manager daemon: logmgr . Done
Starting portmap daemon...Already running..
Starting NFS common utilities:.
Starting Boot Timer.
Network Interface Plugging Daemon...start eth0...done.
Starting system log daemon....
Starting user mgmt upgrade program: usrmgt_upgrade.
Starting kernel log daemon....
SSH2 RSA key file already exists; Skipping key creation ...
SSH2 DSA key file already exists; Skipping key creation ...
Starting OpenBSD Secure Shell server: sshd.
Starting the Health Monitor Daemon...
Starting Host Console Daemon: consd . Done
Starting Error Telemetry Collection Daemon: etcd . Done
Starting Fault Diagnosis Daemon: fdd . Done
Starting IPMI Stack: . Done
Starting BBR daemon...
bbrd started after 1 seconds.
Starting SP fishwrap cache daemon: fishwrapd . Done
Starting Host daemon: hostd . Done
Starting Network Controller Sideband Interface Daemon: ncsid . Done
Starting Platform Obfuscation Daemon: pod . Done
Starting vbsc daemon: vbsc . Done
Starting lu main daemon: lumain . Done
Starting Serial Server: seriald . Done
Starting HT sign on daemon: htsignond . Done
Starting webgo Web Server: webgo . Done
Starting Detection/Diagnosis After System Boot: dasboot  Done
Starting Servicetags discoverer: stdiscoverer.
Starting Servicetags listener: stlistener.
Starting Dynamic FRUID Daemon: dynafrud  Done
waiting for GM ready ...GM is ready

ORACLESP-AK00118201 login:

Now at this prompt, I have to supply the username root and password changeme and then I need to run these commands start /SYS and then start /SP/console to get the OS prompt like below


Code:
SPARC T4-1, No Keyboard
Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.34.3, 15872 MB memory available, Serial #104523236.
Ethernet address 0:10:e0:3a:e5:e4, Host ID: 863ae5e4.



Boot device: /pci@400/pci@1/pci@0/pci@4/scsi@0/disk@w5000c5000acf77fd,0:a  File and args:
SunOS Release 5.11 Version 11.4.0.15.0 64-bit
Copyright (c) 1983, 2018, Oracle and/or its affiliates. All rights reserved.
WARNING: No retained memory, deferred dump not available
Hostname: SPARCT4-1
Oct 29 13:20:16 SPARCT4-1 sendmail[984]: My unqualified host name (SPARCT4-1) unknown; sleeping for retry

SPARCT4-1 console login: USER-1
Password:
Last login: Tue Oct 29 13:01:18 2019 on console
Oracle Corporation      SunOS 5.11      11.4    Aug 2018
USER-1@SPARCT4-1:~$

I want direct this prompt when I poweron the machine.


SPARCT4-1 console login: USER-1 Password:
# 4  
Old 10-29-2019
Hi,

I see that you are trying to connect to the system through the ILOM.console connection, this is normally for mainenance/initial configuration only and all other instances you would connect to the server/host using an other method.

In most instances this would be ssh or similar protocol, assuming that you have setup the networking on the server. Connecting to the host through the console would be ok to bring the server up (although not usual) in a production environment. However it would not be the way to use the server when it's in everyday use.

Additionally forcing the ILOM to connect as the console could lead to a situation where you may not be able to use it as intended. As you are aware there are both serial and network ILOM's on these boxes and having had a look around on the Oracle site (because I've never seen anyone request to have the /HOST/console as a default condition) I can't find much on this subject.

To ensure that the host comes to the login prompt you would need to set the policy for a power cycle to the server as;
Code:
-> set /SP/policy HOST_LAST_POWER_STATE=enabled

You may also want to set the Automatic System Recovery using;
Code:
-> set /HOST/diag mode=normal
-> set /HOST/diag level=max
-> set /HOST/diag trigger=power-on-reset

An at the ok prompt set;

Code:
ok setenv auto-boot? true
ok setenv auto-boot-on-error? true
ok reset-all

This should mean that if the power is removed the system will return to it's previous state.

Regards

Gull04
These 2 Users Gave Thanks to gull04 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. OS X (Apple)

Copy files between partitions with "without auto-mount" option enabled - possible?

Hello, fellow Unixers and Macers, I'll run several OS X versions each on its own dedicated partition. Partitions won't be seeing each other (by editing fstab). Question: will I be able to copy files between those partitions? Partition #1: Mavericks. Partition #2: HighSierra (2 Replies)
Discussion started by: scrutinizerix
2 Replies

3. Red Hat

Can't boot RHEL7.2 due to "Start Job is Running"

Dear community, as already done tons of times, I prepare the RedHat installation on VMWare, then clone it with clonezilla, and finally restore it on final server. Due to different hrdware, I have to boot from rhel-server-7.4-x86_64-boot.iso cd and rewrite the initramfs that contains the hardware... (3 Replies)
Discussion started by: Lord Spectre
3 Replies

4. UNIX for Beginners Questions & Answers

Extract delta records using with "comm" and "sort" commands combination

Hi All, I have 2 pipe delimited files viz., file_old and file_new. I'm trying to compare these 2 files, and extract all the different rows between them into a new_file. comm -3 < sort file_old < sort file_new > new_file I am getting the below error: -ksh: sort: cannot open But if I do... (7 Replies)
Discussion started by: njny
7 Replies

5. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. Shell Programming and Scripting

catalina.sh : need combination from "start" and "run"

heya, can someone help me with following problem. i am not sure how far you know the catalina.sh script from tomcat. when i start my tomcat with "catalina.sh run" then the startup-process-output will be printed out on the console, but the tomcat process is started in current shell/session, so... (1 Reply)
Discussion started by: Filly
1 Replies

8. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

9. UNIX for Dummies Questions & Answers

An Auto-Login "ftp" Script

We are running SCO Unix under Unixware 2.1.3 (really old!). I would appreciate if someone could show me the code of a script to automatically "ftp" one or more files to another SCO Unix computer on the nightly basis, then gracefully termninate the ftp session. Thanks for your help. (3 Replies)
Discussion started by: tphan
3 Replies
Login or Register to Ask a Question