Discussion:
Does the TARGET server need to be running a 64 bit OS if the initiator wants to run a 64 bit OS?
Coffey, Erin
2011-03-08 00:07:22 UTC
Permalink
I want the initiator to run Windows 7, 64 bit OS but, my Linux server where the OS is hosted is running 32 bit OS.

I can get the OS to begin the start process but, it times out and restarts. I was able to read part of the bootmgr and it said something about the OS being incompatible with the file system.

Do I need to run a 64 bit OS on the server?

Thank you,

Erin
Joseph L. Casale
2011-03-08 01:53:37 UTC
Permalink
Post by Coffey, Erin
I want the initiator to run Windows 7, 64 bit OS but, my Linux server where
the OS is hosted is running 32 bit OS.
No problem...
Post by Coffey, Erin
I can get the OS to begin the start process but, it times out and restarts.
I was able to read part of the bootmgr and it said something about the OS
being incompatible with the file system.
You probably manipulated the as installed geometry inadvertently while
uploading the data to the iSCSI target.
Post by Coffey, Erin
Do I need to run a 64 bit OS on the server?
Not at all...

Elaborate on how you perform the install/setup.
Coffey, Erin
2011-03-08 16:09:30 UTC
Permalink
I build the Window 7, 64 bit OS on the initiator and, then I remove the HD and up load the OS to the Linux target using "dd if=/dev/sdb of=/home/erincof/W7_64.img bs=8225280 count=6885"

Any suggestions on where I went wrong?

Thank you,

Erin



-----Original Message-----
From: Joseph L. Casale [mailto:***@activenetwerx.com]
Sent: Monday, March 07, 2011 5:54 PM
To: Etherboot-***@lists.sourceforge.net
Subject: Re: [Etherboot-discuss] Does the TARGET server need to be running a 64 bit OS if the initiator wants to run a 64 bit OS?
Post by Coffey, Erin
I want the initiator to run Windows 7, 64 bit OS but, my Linux server where
the OS is hosted is running 32 bit OS.
No problem...
Post by Coffey, Erin
I can get the OS to begin the start process but, it times out and restarts.
I was able to read part of the bootmgr and it said something about the OS
being incompatible with the file system.
You probably manipulated the as installed geometry inadvertently while
uploading the data to the iSCSI target.
Post by Coffey, Erin
Do I need to run a 64 bit OS on the server?
Not at all...

Elaborate on how you perform the install/setup.

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Etherboot-discuss mailing list
Etherboot-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/etherboot-discuss
Joseph L. Casale
2011-03-08 16:15:01 UTC
Permalink
Post by Coffey, Erin
I build the Window 7, 64 bit OS on the initiator and, then I remove the HD and up load the OS
to the Linux target using "dd if=/dev/sdb of=/home/erincof/W7_64.img bs=8225280 count=6885"
Any suggestions on where I went wrong?
Well, how did you come up with the math for bs/count in your dd cmd? How big is your original disc?
What's your target config look like? How are presenting the image to the initiator?

Any reason why you don't just install directly to the target?
jlc
Coffey, Erin
2011-03-08 16:34:07 UTC
Permalink
The math is correct; I'm playing with a 50 Gb OS image because I have several applications that I want to test running on a thin client.

I am using a very simple network; I have the initiator and the target linked together via Ethernet cable. The Linux target is running a dhcp server and iscsitarget.

For boot, I am running gpxe 1.0.1 DVD on the initiator; the boot commands I am running are:
dhcp net0
set keep-san 1
sanboot ${root-path}
#################### Dhcpd.conf ###########################
option space gpxe;
option gpxe-encap-opts code 175 = encapsulate gpxe;
option gpxe.priority code 1 = signed integer 8;
option gpxe.keep-san code 8 = unsigned integer 8;
option gpxe.no-pxedhcp code 176 = unsigned integer 8;
option gpxe.bus-id code 177 = string;
option gpxe.bios-drive code 189 = unsigned integer 8;
option gpxe.version code 235 = string;
option iscsi-initiator-iqn code 203 = string;
ddns-update-style interim;

allow booting;
allow bootp;

DHCPDARGS=eth0;
authoritative;
option domain-name "Lanbo.org";
option domain-name-servers 192.168.1.100;

INTERFACES="eth0 eth1 net0 net1";
filename "";
host lanbo-server {
hardware ethernet 00:06:5b:84:53:86;
fixed-address 192.168.1.100;
}
option root-path "iscsi:192.168.1.100::::iqn.2007-08.100.1.168.192:iscsiboot";

subnet 192.168.1.0 netmask 255.255.255.0 {

range 192.168.1.201 192.168.1.220;

default-lease-time 86400;
max-lease-time 86400;
option routers 192.168.1.1;
option ip-forwarding off;
option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
option ntp-servers 192.168.1.100;

option netbios-name-servers 192.168.1.100;

host lanbo-client {
#hardware ethernet 00:d0:c9:ab:ea:6c;
hardware ethernet 00:d0:c9:ae:80:9e;

fixed-address 192.168.1.102;
option gpxe.keep-san 1;
}

host lanbo-client2 {
hardware ethernet 00:d0:c9:ab:ea:6c;
fixed-address 192.168.1.101;
}

}

log-facility local7;
#################### Dhcpd.conf ###########################

#################### ietd.conf ###########################
Target iqn.2007-08.100.1.168.192:iscsiboot
Lun 0 Path=/home/erincof/W7_64.img,Type=fileio
#################### ietd.conf ###########################

#################### initiators.allow ###########################
iqn.2007-08.100.1.168.192:iscsi 192.168.1.102
#################### initiators.allow ###########################


Any ideas of where the problem is?

Thank you for your help on this,

Erin








-----Original Message-----
From: Joseph L. Casale [mailto:***@activenetwerx.com]
Sent: Tuesday, March 08, 2011 8:15 AM
To: Etherboot-***@lists.sourceforge.net
Subject: Re: [Etherboot-discuss] Does the TARGET server need to be running a 64 bit OS if the initiator wants to run a 64 bit OS?
Post by Coffey, Erin
I build the Window 7, 64 bit OS on the initiator and, then I remove the HD and up load the OS
to the Linux target using "dd if=/dev/sdb of=/home/erincof/W7_64.img bs=8225280 count=6885"
Any suggestions on where I went wrong?
Well, how did you come up with the math for bs/count in your dd cmd? How big is your original disc?
What's your target config look like? How are presenting the image to the initiator?

Any reason why you don't just install directly to the target?
jlc

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Etherboot-discuss mailing list
Etherboot-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/etherboot-discuss
Joseph L. Casale
2011-03-08 16:41:12 UTC
Permalink
Post by Coffey, Erin
The math is correct;
/snip
Post by Coffey, Erin
#################### ietd.conf ###########################
Target iqn.2007-08.100.1.168.192:iscsiboot
Lun 0 Path=/home/erincof/W7_64.img,Type=fileio
Well, it looks right? Do you have the full error message? Earlier you said
"I was able to read part of the bootmgr and it said something about the OS
being incompatible with the file system." which means it was able to read
the lun you presented to some degree. The message you state doesn't sound
familiar though. Can you mount the target somewhere else and show the
existing scheme?
Coffey, Erin
2011-03-08 17:25:53 UTC
Permalink
I'm not sure what you mean by show the existing scheme?

I am able to look at files from the boot sector by booting the initiator from a good W7 HD and then, computer\manage\disk manegement->explore

Attached, please find a snippet from the bootmgr file and, the bootsect.bak file from the problematic OS.

Again, thank you for your help on this!!!


-----Original Message-----
From: Joseph L. Casale [mailto:***@activenetwerx.com]
Sent: Tuesday, March 08, 2011 8:41 AM
To: Etherboot-***@lists.sourceforge.net
Subject: Re: [Etherboot-discuss] Does the TARGET server need to be running a 64 bit OS if the initiator wants to run a 64 bit OS?
Post by Coffey, Erin
The math is correct;
/snip
Post by Coffey, Erin
#################### ietd.conf ###########################
Target iqn.2007-08.100.1.168.192:iscsiboot
Lun 0 Path=/home/erincof/W7_64.img,Type=fileio
Well, it looks right? Do you have the full error message? Earlier you said
"I was able to read part of the bootmgr and it said something about the OS
being incompatible with the file system." which means it was able to read
the lun you presented to some degree. The message you state doesn't sound
familiar though. Can you mount the target somewhere else and show the
existing scheme?
Joseph L. Casale
2011-03-08 17:27:06 UTC
Permalink
Post by Coffey, Erin
"dd if=/dev/sdb of=/home/erincof/W7_64.img bs=8225280 count=6885"
Any suggestions on where I went wrong?
Sorry for the offlist reply, I was on a PDA:) I missed this the first time but
windows will need to install the boot files on the first disc, sda, since you
uploaded only sdb your installation cant start.
Coffey, Erin
2011-03-08 17:37:04 UTC
Permalink
I'm sorry, I don't understand. I followed the instructions here: http://www.etherboot.org/wiki/sanboot/transfer

When I attached the HD to the Linux server, I ran fdisk -l and, both Windows 7 partitions are on dev/sdb I transferred the image using the ending cylinder of the second partition (what used to be the C:\ partition).

How do I install the boot files on sda?

Thank you,

Erin


-----Original Message-----
From: Joseph L. Casale [mailto:***@activenetwerx.com]
Sent: Tuesday, March 08, 2011 9:27 AM
To: Etherboot-***@lists.sourceforge.net
Subject: Re: [Etherboot-discuss] Does the TARGET server need to be running a 64 bit OS if the initiator wants to run a 64 bit OS?
Post by Coffey, Erin
"dd if=/dev/sdb of=/home/erincof/W7_64.img bs=8225280 count=6885"
Any suggestions on where I went wrong?
Sorry for the offlist reply, I was on a PDA:) I missed this the first time but
windows will need to install the boot files on the first disc, sda, since you
uploaded only sdb your installation cant start.

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Etherboot-discuss mailing list
Etherboot-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/etherboot-discuss
Joseph L. Casale
2011-03-08 17:40:54 UTC
Permalink
Post by Coffey, Erin
I'm sorry, I don't understand. I followed the instructions here: http://www.etherboot.org/wiki/sanboot/transfer
When I attached the HD to the Linux server, I ran fdisk -l and, both Windows 7
partitions are on dev/sdb I transferred the image using the ending cylinder of
the second partition (what used to be the C:\ partition).
Ah, my bad. I assumed you booted the actual workstation with a Linux environment
instead of removing the disc. If that was the primary disc, and you see both partitions
then afaik you did it right.

Any reason you don't just install directly to the iscsi server? It works well and is so
much faster and simpler... Check the wiki out.
Coffey, Erin
2011-03-08 18:50:15 UTC
Permalink
I got this to work a few months ago using a Win7, 32 bit OS.

I read recently that deleting the registry key (HKLM\SYSTEM\MountedDevices) may help?

If I still can't boot, I'll try installing the OS directly to the target.

Thank you for your help,

Erin


-----Original Message-----
From: Joseph L. Casale [mailto:***@activenetwerx.com]
Sent: Tuesday, March 08, 2011 9:41 AM
To: Etherboot-***@lists.sourceforge.net
Subject: Re: [Etherboot-discuss] Does the TARGET server need to be running a 64 bit OS if the initiator wants to run a 64 bit OS?
Post by Coffey, Erin
I'm sorry, I don't understand. I followed the instructions here: http://www.etherboot.org/wiki/sanboot/transfer
When I attached the HD to the Linux server, I ran fdisk -l and, both Windows 7
partitions are on dev/sdb I transferred the image using the ending cylinder of
the second partition (what used to be the C:\ partition).
Ah, my bad. I assumed you booted the actual workstation with a Linux environment
instead of removing the disc. If that was the primary disc, and you see both partitions
then afaik you did it right.

Any reason you don't just install directly to the iscsi server? It works well and is so
much faster and simpler... Check the wiki out.

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Etherboot-discuss mailing list
Etherboot-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/etherboot-discuss
Coffey, Erin
2011-03-14 21:55:43 UTC
Permalink
Hello:

I found out that the bootmgr file is corrupt on the target even before I attempt to boot.

What could cause this?

I built the HD on the initiator and then transfer to the Linux target using the dd command: "dd if=/dev/sdb of=/home/erincof/W7_64.img bs=8225280 count=6885" Yes, it is a big image. Could this possibly be the problem?

I know that the HD works if I attach to the initiator and boot.

Does anyone have any idea why the bootmgr would be corrupt after the transfer?

There were no Error reported from the target during or after the transfer.

Thank you for your help,

Erin


Erin Coffey
Tektronix, Inc.
Scopes Engineering
503-627-3904


-----Original Message-----
From: Coffey, Erin
Sent: Tuesday, March 08, 2011 10:50 AM
To: Joseph L. Casale; Etherboot-***@lists.sourceforge.net
Subject: RE: [Etherboot-discuss] Does the TARGET server need to be running a 64 bit OS if the initiator wants to run a 64 bit OS?


I got this to work a few months ago using a Win7, 32 bit OS.

I read recently that deleting the registry key (HKLM\SYSTEM\MountedDevices) may help?

If I still can't boot, I'll try installing the OS directly to the target.

Thank you for your help,

Erin


-----Original Message-----
From: Joseph L. Casale [mailto:***@activenetwerx.com]
Sent: Tuesday, March 08, 2011 9:41 AM
To: Etherboot-***@lists.sourceforge.net
Subject: Re: [Etherboot-discuss] Does the TARGET server need to be running a 64 bit OS if the initiator wants to run a 64 bit OS?
Post by Coffey, Erin
I'm sorry, I don't understand. I followed the instructions here: http://www.etherboot.org/wiki/sanboot/transfer
When I attached the HD to the Linux server, I ran fdisk -l and, both Windows 7
partitions are on dev/sdb I transferred the image using the ending cylinder of
the second partition (what used to be the C:\ partition).
Ah, my bad. I assumed you booted the actual workstation with a Linux environment
instead of removing the disc. If that was the primary disc, and you see both partitions
then afaik you did it right.

Any reason you don't just install directly to the iscsi server? It works well and is so
much faster and simpler... Check the wiki out.

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Etherboot-discuss mailing list
Etherboot-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/etherboot-discuss
Joseph L. Casale
2011-03-15 19:54:25 UTC
Permalink
Post by Coffey, Erin
I found out that the bootmgr file is corrupt on the target even before I attempt to boot.
What could cause this?
A few reasons, maybe vastly different controller setups from initiator to target host?
So if you boot the disc back into the initiator host, it works again? Try booting that
host with a Linux based iso like SystemRescueCd, its small, then dd from that and just
use `dd if=/dev/sda of=...` and let it stop when it hits the end of the disc if the whole
disc was used anyway.

You can actually dd from the ini host once booted directly to the image on the target
(make sure the iscsi target is not accessing the existing image) with a cmd like this:
dd if=/dev/sda |ssh ***@10.0.0.4 'dd of=/path/image.img'

Good luck,
jlc

Loading...