2011-03-16, 03:22
Here's what I get now on first boot after doing the internal install. (when it runs initialize.sh)
http://i56.tinypic.com/wu5dg3.jpg
http://i56.tinypic.com/wu5dg3.jpg
Extracting image and imaging device
7550976+0 records in
7550976+0 records out
3866099712 bytes (3.9 GB) copied, 2966.27 s, 1.3 MB/s
Resync
Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old backup)?
Warning: Not all of the space available to /dev/sdc1 appears to be used, you can fix the GPT to use all of the space (an extra 8099870 blocks) or continue with the current setting?
Error: Error informing the kernel about modifications to partition /dev/sdc1p1 -- Invalid argument. This means Linux won't know about any changes you made to /dev/sdc1p1 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
Error: Failed to add partition 1 (Invalid argument)
Mounting device
mount: special device /dev/sdc13 does not exist
Injecting OS distro choice
chmod: cannot access `mnt/.distro': No such file or directory
Unmounting, clean up
umount: /dev/sdc13: not found
jumpcuts Wrote:You lost me on the tty via usb part...
Romey-Rome Wrote:He means plug in a USB keyboard to the aTV, then either exit XBMC, or hit ctrl+alt+F2.
And yes, SSH is broken on the USB install. Access denied.
Sam.Nazarko Wrote:That is strange. It would appear the DNS resolution was successful: "svn.stmlabs.com:87.106.100.246:80", yet you still get a 404 return code. Try wget to obtain the file manually.
The username and password are atv-atv. You can login with a tty session using the USB port for verification. Your SSH is not working for some other reason - which is likely linked to your network problem. Does the initialisation script work on a PC, i.e. can you fetch the files aTV is trying to fetch from your machine? This will indicate where the fault lies
pmcd Wrote:Have a look at my reply to Sam. You don't need the patched parted for what you are trying to do ( which is also what I am trying to do). I ran parted from a shell on a Ubuntu 10 box. I assume Live would work. I outlined exactly what I had to do to fill up the space, and it works. Mind you, the swap size remains at 512megs. I don't know if that is sufficient.
philip
fahadmp Wrote:i ran the script on my usb drive (dev/sdc1) and i get this at the end of it:
Code:Extracting image and imaging device
7550976+0 records in
7550976+0 records out
3866099712 bytes (3.9 GB) copied, 2966.27 s, 1.3 MB/s
Resync
Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old backup)?
Warning: Not all of the space available to /dev/sdc1 appears to be used, you can fix the GPT to use all of the space (an extra 8099870 blocks) or continue with the current setting?
Error: Error informing the kernel about modifications to partition /dev/sdc1p1 -- Invalid argument. This means Linux won't know about any changes you made to /dev/sdc1p1 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
Error: Failed to add partition 1 (Invalid argument)
Mounting device
mount: special device /dev/sdc13 does not exist
Injecting OS distro choice
chmod: cannot access `mnt/.distro': No such file or directory
Unmounting, clean up
umount: /dev/sdc13: not found
also how do i go about editing the appletv com.apple.Boot.plist if i am stuck at the "waiting for root file system" screen?
Romey-Rome Wrote:He means plug in a USB keyboard to the aTV, then either exit XBMC, or hit ctrl+alt+F2.
And yes, SSH is broken on the USB install. Access denied.
bigjuggler Wrote:Hi Philip,
Thanks for the advice. Just a bit of clarification, since I am a real Linux noob, so if anyone wants to hold my hand:
I ran gparted and found that the third partition on my drive starts at sector 1118248. So, if I launch the terminal, is this what I should type:
parted
unit s
rm 3
mkpart primary 1118247
q
sudo e2fsck -f /dev/sdb3
sudo resize2fs /dev/sdb3
Can I do all this to the drive, even after I have booted the ATV with it and it installs Dharma 10.1. With the download, it takes about 3 hours to format the drive, so I want to make sure this is right before I mess with it.
Thanks so much.
Craig
Roders Wrote:How does sam's image handle an external usb hard drive? I use an unraid server myself, but a friend would like me to install this on his atv and his media is stored on an external drive. Does it just plug in and work?
bigjuggler Wrote:Hi Philip,
Thanks for the advice. Just a bit of clarification, since I am a real Linux noob, so if anyone wants to hold my hand:
I ran gparted and found that the third partition on my drive starts at sector 1118248. So, if I launch the terminal, is this what I should type:
parted
unit s
rm 3
mkpart primary 1118247
q
sudo e2fsck -f /dev/sdb3
sudo resize2fs /dev/sdb3
Can I do all this to the drive, even after I have booted the ATV with it and it installs Dharma 10.1. With the download, it takes about 3 hours to format the drive, so I want to make sure this is right before I mess with it.
Thanks so much.
Craig
Sam.Nazarko Wrote:Resizing works by default.
Resync
Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old backup)?
Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 148750512 blocks) or continue with the current setting?
Resizing file system
e2fsck 1.41.11 (14-Mar-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Linux: 37065/204800 files (1.0% non-contiguous), 179559/803822 blocks
resize2fs 1.41.11 (14-Mar-2010)
The filesystem is already 803822 blocks long. Nothing to do!
Sam.Nazarko Wrote:This failed because you referenced a drive number! The default is /dev/sdb, and your device is /dev/sdc, what made you think you needed to add a 1 at the end. The script needs to reference the whole drive not one partition, and will append drive numbers automatically. Just use /dev/sdc
Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old backup)?
Warning: Not all of the space available to /dev/sdc appears to be used, you can fix the GPT to use all of the space (an extra 8112128 blocks) or continue with the current setting?
Error: Error informing the kernel about modifications to partition /dev/sdc2 -- Device or resource busy. This means Linux won't know about any changes you made to /dev/sdc2 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
Error: Failed to add partition 2 (Device or resource busy)
Mounting device
mount: special device /dev/sdc3 does not exist
Injecting OS distro choice
chmod: cannot access `mnt/.distro': No such file or directory
Unmounting, clean up
umount: /dev/sdc3: not found