ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #04075
touch init script update list of data partition names
Hello,
I'm trying to get the flipped ubuntu touch image running on my samsung
galaxy tab 10.1 wifi (p4wifi).
The tablet currently boots straight into BusyBox, because the init script
can't find my data partition. I get
"initrd: Couldn't find data partition. Spawning adbd ..."
The problem is in the "touch" script [1] in the "mountroot()" function,
where the following is defined:
# list of possible userdata partition names
partlist="userdata UDA DATAFS USERDATA"
The userdata partition on this particular device is called "UA": (notice
the bold entries)
# find /dev/disk/
> /dev/disk/
> /dev/disk/by-uuid
> /dev/disk/by-uuid/57f8f4bc-abf4-655f-bf67-946fc0f9f25b
> /dev/disk/by-uuid/57f8f4bc-abf4-0000-675f-946fc0f9f25b
> /dev/disk/by-name
> /dev/disk/by-name/AP
> /dev/disk/by-name/MM
> /dev/disk/by-name/LX
> /dev/disk/by-name/SS
> /dev/disk/by-name/OA
> /dev/disk/by-name/ES
> */dev/disk/by-name/UA
> */dev/disk/by-name/CC
> /dev/disk/by-name/MC
> /dev/disk/by-path
> /dev/disk/by-path/platform-sdhci-tegra.3-part4
> /dev/disk/by-path/platform-sdhci-tegra.3-part10
> /dev/disk/by-path/platform-sdhci-tegra.3-part7
> /dev/disk/by-path/platform-sdhci-tegra.3-part3
> /dev/disk/by-path/platform-sdhci-tegra.3-part2
> /dev/disk/by-path/platform-sdhci-tegra.3-part9
> /dev/disk/by-path/platform-sdhci-tegra.3
> /dev/disk/by-path/platform-sdhci-tegra.3-part1
> /dev/disk/by-path/platform-sdhci-tegra.3-part8
> /dev/disk/by-path/platform-sdhci-tegra.3-part5
> /dev/disk/by-path/platform-sdhci-tegra.3-part6
> /dev/disk/by-id
> /dev/disk/by-id/mmc-SEM16G_0x618c1d4e-part4
> /dev/disk/by-id/mmc-SEM16G_0x618c1d4e-part7
> /dev/disk/by-id/mmc-SEM16G_0x618c1d4e-part3
> /dev/disk/by-id/mmc-SEM16G_0x618c1d4e-part2
> /dev/disk/by-id/mmc-SEM16G_0x618c1d4e-part9
> /dev/disk/by-id/mmc-SEM16G_0x618c1d4e-part1
> /dev/disk/by-id/mmc-SEM16G_0x618c1d4e-part8
> /dev/disk/by-id/mmc-SEM16G_0x618c1d4e-part5
> /dev/disk/by-id/mmc-SEM16G_0x618c1d4e-part6
> /dev/disk/by-id/mmc-SEM16G_0x618c1d4e
> # ls -l /dev/disk/by-name/
> lrwxrwxrwx 1 15 MC -> ../../mmcblk0p6
> lrwxrwxrwx 1 15 CC -> ../../mmcblk0p5
> *lrwxrwxrwx 1 15 UA -> ../../mmcblk0p8
> *lrwxrwxrwx 1 15 ES -> ../../mmcblk0p1
> lrwxrwxrwx 1 15 OA -> ../../mmcblk0p9
> lrwxrwxrwx 1 15 SS -> ../../mmcblk0p2
> lrwxrwxrwx 1 15 LX -> ../../mmcblk0p3
> lrwxrwxrwx 1 15 MM -> ../../mmcblk0p7
> lrwxrwxrwx 1 15 AP -> ../../mmcblk0p4
What is the preffered way of handling this issue? Should I file a merge
request against the original [1] touch script adding "UA" to the "partlist"
list of partitions?
[1]
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/saucy/initramfs-tools-ubuntu-touch/saucy/view/head:/scripts/touch
thanks,
--
Patrick Seemann
launchpad: ~patrickseemann
irc.freenode.net: seepa
Follow ups