2011-03-15, 02:57
Well my usb install is now failing with "/dev/sdb3 does not exist. Dropping to shell!" at boot.
pmcd Wrote:Is there something that can be done to the unallocated partition or is it supposed to be that way? Seems a waste. Is there a simple way to install the fixed parted on a Ubuntu system? It's all very confusing at this point!
philip
pmcd Wrote:Edit2: Very slick. One suggestion. It might be nice to have the option of selecting the image instead of having to download it automatically. This might be useful if one had already downloaded the image. Of course it makes things a bit more complicated, but the process seems to be pretty simple as is. I ran it from Fusion with Ubuntu 9 and it just seemed to know which drive to deal with.
pmcd Wrote:Ok, the installer did its thing. It partitioned everything but left unallocated space of 300 gigs or so. I had installed it to a 320gig drive. The unallocated piece is at the end of the partition, so can I just go ahead and initialize that as fat or ext2 or whatever ?
As it is, the hard drive booted the ATV from USB ( while the internal hard drive was left untouched). Much faster than a flash drive, but there is still that unused 300 gig partition.
Is there something that can be done to the unallocated partition or is it supposed to be that way? Seems a waste. Is there a simple way to install the fixed parted on a Ubuntu system? It's all very confusing at this point!
Basically the installer does not resize the 3rd partition. I tried it on a 16gig flash drive and the same thing happened. It seems to think there is nothing to do. That is, it thinks the disk is already at its limit even though before running the resize command it recognizes it isn't. It's the same old story as with the parted problem. Sigh ...
philip
Romey-Rome Wrote:Well my usb install is now failing with "/dev/sdb3 does not exist. Dropping to shell!" at boot.
bigjuggler Wrote:I am wondering this too. I ran the installer and it works great. There is a definite advantage to booting off usb hard drive instead of flash (I have been running Sam's previous builds off a hard drive for months, very stable and speedy).
I was hoping this installer would help me deal with the extra space on my 40 GB external drive as well, but like Philip, I have a drive that has been autoformatted to about 4GB (instead of the 40GB available).
I run Ubuntu from a "live" cd and I am not sure how to install the patched parted, or what to do after that.
Any nudge in the right direction would be welcome.
Thanks again.
Craig
jumpcuts Wrote:Hello,
I'm trying to install the latest image with the installer from a 4gig USB stick. During the boot sequence it crashes at some point when It's not finding a file on svn.stmlabs.com.
The script stops at the initialise.sh file and drops me to the appletv-ubuntu prompt.
When I try to ssh the box. atv/atv and xbmc/xbmc don't seem to work.
Am I missing something?
Thanks in advance.
Sam.Nazarko Wrote:Let's clear some things up.
Network connectivity is required for the initialisation of the system, I assume you have connected an Ethernet cable if attempting a SSH connection. You should check network connectivity and treat this as a Ubuntu issue rather than an aTV one: system responding to ping? cat /etc/network/interfaces returns "eth0 auto"?
Sam.Nazarko Wrote:Please be specific to your installation (type, method, USB drive etc)
Sam.Nazarko Wrote:Let's clear some things up.
You seem confused. The installer script will utilise the maximum size of the drive minus 1.5GB for sector segmentation. "The hard drive booted the ATV from USB". Please clarify, did you install Ubuntu onto your internal drive with the USB using the Hard Drive Install option
Please be specific to your installation (type, method, USB drive etc)
bigjuggler Wrote:I am wondering this too. I ran the installer and it works great. There is a definite advantage to booting off usb hard drive instead of flash (I have been running Sam's previous builds off a hard drive for months, very stable and speedy).
I was hoping this installer would help me deal with the extra space on my 40 GB external drive as well, but like Philip, I have a drive that has been autoformatted to about 4GB (instead of the 40GB available).
I run Ubuntu from a "live" cd and I am not sure how to install the patched parted, or what to do after that.
Any nudge in the right direction would be welcome.
Thanks again.
Craig
pmcd Wrote:The installation type was USB drive. I plugged in a USB Hard drive ( 320gigs external) into a Linux box. Ran your install and installed to USB. I did not use install to internal hard drive as I don't want to touch it.
This created a bootable usb hard drive with three partitions. It did not use up all the space minus 1.5G. The drive was 320gigs and it used 4 gigs.
I assume the install method is oriented towards installing to the internal hard drive, in which case it would use all the space?
In any case I finally "found" out how to reclaim the space in the 3rd partition.
When you use the install to USB option it creates three partitions
1- hfs (boot)
2- swap (512megs)
3- linux (3 gigs or so)
I ran parted from a shell ( the graphically one won't work).
- I used sector units ( units s)
- rm 3 (this deletes the 3rd piece, but not really)
- mkpart primary ()s -1 (()s is the number where 3 starts with the s)
-q
sudo e2fsck -f /dev/sdxx
sudo resize2fs /dev/sdxx
---
After you first run parted it asks if you want to Fix or Ingnore the issue that the whole disk is not being used. Type Fix.
This worked for me for both a hard drive and a flash drive. I don't know if 512megs is enough for the swap though, and I am not quite up to knowing how to change it!
philip
Sam.Nazarko Wrote:Yup. It kind of relies on the internal drive being in hehe. As you're using two USB interfaces, you need to verify which is sda and which is sdb (fdisk -l or parted -s /dev/sda). Then you can adjust com.apple.Boot.plist accordingly
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